#include <sspt_graph.h>
Classes | |
struct | Edge |
class | RemovePredicate |
Public Member Functions | |
sspt_Graph () | |
~sspt_Graph () | |
int | addNode (N item) |
bool | addNode (int nodeId, N item) |
bool | addEdge (int nodeA, int nodeB, E item) |
bool | removeEdge (int nodeA, int nodeB) |
void | getNodes (sspt_List< int > *nodes) |
bool | getNode (int nodeId, N *buffer) |
bool | getEdge (int *edgeId, E *buffer, int nodeA, int nodeB) |
bool | getEdge (int edgeId, E *buffer) |
void | getEdges (sspt_List< int > *edges) |
bool | getEdges (int nodeId, sspt_List< int > *edges) |
bool | getConnectedNodes (int nodeId, sspt_List< int > *nodes) |
bool | isEdge (int nodeA, int nodeB) |
bool | getEdgeNodes (int edgeId, int *nodeA, int *nodeB) |
sspt_Graph< N, E >::sspt_Graph | ( | ) | [inline] |
sspt_Graph< N, E >::~sspt_Graph | ( | ) | [inline] |
bool sspt_Graph< N, E >::addEdge | ( | int | nodeA, | |
int | nodeB, | |||
E | item | |||
) | [inline] |
bool sspt_Graph< N, E >::addNode | ( | int | nodeId, | |
N | item | |||
) | [inline] |
int sspt_Graph< N, E >::addNode | ( | N | item | ) | [inline] |
bool sspt_Graph< N, E >::getConnectedNodes | ( | int | nodeId, | |
sspt_List< int > * | nodes | |||
) | [inline] |
bool sspt_Graph< N, E >::getEdge | ( | int | edgeId, | |
E * | buffer | |||
) | [inline] |
bool sspt_Graph< N, E >::getEdge | ( | int * | edgeId, | |
E * | buffer, | |||
int | nodeA, | |||
int | nodeB | |||
) | [inline] |
bool sspt_Graph< N, E >::getEdgeNodes | ( | int | edgeId, | |
int * | nodeA, | |||
int * | nodeB | |||
) | [inline] |
bool sspt_Graph< N, E >::getEdges | ( | int | nodeId, | |
sspt_List< int > * | edges | |||
) | [inline] |
void sspt_Graph< N, E >::getEdges | ( | sspt_List< int > * | edges | ) | [inline] |
bool sspt_Graph< N, E >::getNode | ( | int | nodeId, | |
N * | buffer | |||
) | [inline] |
void sspt_Graph< N, E >::getNodes | ( | sspt_List< int > * | nodes | ) | [inline] |
bool sspt_Graph< N, E >::isEdge | ( | int | nodeA, | |
int | nodeB | |||
) | [inline] |
bool sspt_Graph< N, E >::removeEdge | ( | int | nodeA, | |
int | nodeB | |||
) | [inline] |