OdinAI
 All Classes Namespaces Functions Variables
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: