SOLA
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
daisi::datastructure::DirectedGraph< Vertex, Edge > Class Template Reference
Inheritance diagram for daisi::datastructure::DirectedGraph< Vertex, Edge >:
daisi::datastructure::WeightedDirectedGraph< StnTaskManagementVertex, StnTaskManagementEdge > daisi::datastructure::WeightedDirectedGraph< Vertex, Edge > daisi::datastructure::SimpleTemporalNetwork< StnTaskManagementVertex, StnTaskManagementEdge > daisi::datastructure::SimpleTemporalNetwork< Vertex, Edge > daisi::cpps::logical::StnTaskManagement

Public Member Functions

 DirectedGraph (const DirectedGraph &other)
 
void addVertex (const Vertex &vertex)
 
void removeVertex (const Vertex &vertex)
 
bool hasVertex (const Vertex &vertex) const
 
void addEdge (const Vertex &start, const Vertex &end, const Edge &edge)
 
void removeEdge (const Vertex &start, const Vertex &end)
 
bool hasEdge (const Vertex &start, const Vertex &end) const
 
const std::vector< Vertex > & getVertices () const
 
Edge & getEdge (const Vertex &start, const Vertex &end)
 
std::vector< std::pair< Vertex, Edge > > getOutgoingEdges (const Vertex &start) const
 
std::vector< std::pair< Vertex, Edge > > getIncomingEdges (const Vertex &end) const
 

Protected Attributes

std::vector< Vertex > vertices_
 
std::vector< std::vector< std::optional< Edge > > > adjacency_matrix_
 

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