#include <sspt_digraph.h>
Classes | |
struct | Arc |
class | RemovePredicate |
Public Member Functions | |
sspt_Digraph () | |
~sspt_Digraph () | |
int | addNode (N item) |
bool | addNode (int nodeId, N item) |
bool | addArc (int nodeA, int nodeB, E item) |
bool | removeArc (int nodeA, int nodeB, int arcId) |
void | getNodes (sspt_List< int > *nodes) |
bool | getNode (int nodeId, N *buffer) |
bool | getArcs (int nodeA, int nodeB, sspt_List< int > *arcs) |
bool | getArc (int arcId, E *buffer, int *fromNode, int *toNode) |
void | getArcs (sspt_List< int > *arcs) |
bool | getArcs (int nodeId, sspt_List< int > *arcs) |
bool | isArc (int nodeA, int nodeB) |
bool | getArcDest (int arcId, int *nodeId) |
bool | connectedComponents (sspt_List< sspt_Digraph< N, E > * > *list) |
sspt_Digraph< N, E >::sspt_Digraph | ( | ) | [inline] |
sspt_Digraph< N, E >::~sspt_Digraph | ( | ) | [inline] |
bool sspt_Digraph< N, E >::addArc | ( | int | nodeA, | |
int | nodeB, | |||
E | item | |||
) | [inline] |
bool sspt_Digraph< N, E >::addNode | ( | int | nodeId, | |
N | item | |||
) | [inline] |
int sspt_Digraph< N, E >::addNode | ( | N | item | ) | [inline] |
bool sspt_Digraph< N, E >::connectedComponents | ( | sspt_List< sspt_Digraph< N, E > * > * | list | ) | [inline] |
bool sspt_Digraph< N, E >::getArc | ( | int | arcId, | |
E * | buffer, | |||
int * | fromNode, | |||
int * | toNode | |||
) | [inline] |
bool sspt_Digraph< N, E >::getArcDest | ( | int | arcId, | |
int * | nodeId | |||
) | [inline] |
bool sspt_Digraph< N, E >::getArcs | ( | int | nodeId, | |
sspt_List< int > * | arcs | |||
) | [inline] |
void sspt_Digraph< N, E >::getArcs | ( | sspt_List< int > * | arcs | ) | [inline] |
bool sspt_Digraph< N, E >::getArcs | ( | int | nodeA, | |
int | nodeB, | |||
sspt_List< int > * | arcs | |||
) |
bool sspt_Digraph< N, E >::getNode | ( | int | nodeId, | |
N * | buffer | |||
) | [inline] |
void sspt_Digraph< N, E >::getNodes | ( | sspt_List< int > * | nodes | ) | [inline] |
bool sspt_Digraph< N, E >::isArc | ( | int | nodeA, | |
int | nodeB | |||
) | [inline] |
bool sspt_Digraph< N, E >::removeArc | ( | int | nodeA, | |
int | nodeB, | |||
int | arcId | |||
) | [inline] |