OdinAI

- Main Page
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables
Public Member Functions | Protected Attributes | List of all members
OdinAI::GraphEdge Class Reference

`#include <GraphEdges.h>`

## Public Member Functions
| GraphEdge (int from, int to)
| GraphEdge (int from, int to, int cost)
int | From () const
void | SetFrom (int from)
int | To () const
void | SetTo (int to)
int | Cost () const
void | SetCost (int cost)

## Protected Attributes
int | m_from
| From which node?
int | m_to
| To which node?
int | m_cost
| How much does it cost to traverse edge?

## Detailed Description

Contains information about the edge between two nodes. In other words connect information for nodes. Implementation is based on the book: Programming Game AI by Example.

The documentation for this class was generated from the following file:

- E:/Development/Projects/OdinAI/Include/OdinAI/GraphEdges.h