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

Public Member Functions

void addBinaryConstraint (const Vertex &start, const Vertex &end, const std::optional< double > &lower_bound, const std::optional< double > &upper_bound)
 
void addUnaryConstraint (const Vertex &vertex, const std::optional< double > &lower_bound, const std::optional< double > &upper_bound)
 
void updateLastBinaryConstraint (const Vertex &start, const Vertex &end, const std::optional< double > &lower_bound, const std::optional< double > &upper_bound)
 
void removeVertex (const Vertex &vertex)
 
Vertex & getOrigin ()
 
std::vector< std::pair< Vertex, double > > getEarliestSolution ()
 
std::vector< std::pair< Vertex, double > > getLatestSolution ()
 
virtual bool solve ()
 
- Public Member Functions inherited from daisi::datastructure::WeightedDirectedGraph< Vertex, Edge >
std::vector< std::vector< double > > getWeightMatrix () const
 
std::vector< std::vector< double > > floydWarshall () const
 
- Public Member Functions inherited from daisi::datastructure::DirectedGraph< Vertex, Edge >
 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< std::vector< double > > d_graph_
 
- Protected Attributes inherited from daisi::datastructure::DirectedGraph< Vertex, Edge >
std::vector< Vertex > vertices_
 
std::vector< std::vector< std::optional< Edge > > > adjacency_matrix_
 

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