al::Graph class

Public types

class Edge
class Vertex

Constructors, destructors, conversion operators

Graph(s32 verticesSize, s32 edgesSize)

Public functions

void appendVertex(s32 size)
void appendVertex(Vertex* vertex)
void removeVertex(const Vertex* vertex)
void removeEdge(const Edge* edge)
auto tryFindEdge(s32 indexVertex1, s32 indexVertex2) const -> Edge*
void appendEdge(Edge* edge)
auto tryAppendEdge(Edge* edge) -> bool
void appendEdge(s32 indexVertex1, s32 indexVertex2, f32 weight)
auto tryAppendEdge(s32 indexVertex1, s32 indexVertex2, f32 weight) -> bool