template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
class util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >
Definition at line 206 of file graph.h.
#include <graph.h>
◆ ArcIndex
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
typedef ArcIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::ArcIndex
◆ NodeIndex
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
typedef NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::NodeIndex
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::BaseGraph |
( |
| ) |
|
|
inline |
◆ BaseGraph() [2/2]
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::BaseGraph |
( |
const BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs > & | | ) |
|
|
default |
◆ ~BaseGraph()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
◆ AllForwardArcs()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
◆ AllNodes()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
◆ arc_capacity()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
| ArcIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::arc_capacity |
( |
| ) |
const |
◆ Build() [1/2]
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::Build |
( |
| ) |
|
|
inline |
◆ Build() [2/2]
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| virtual void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::Build |
( |
std::vector< ArcIndexType > * | permutation | ) |
|
|
inlinevirtual |
◆ BuildStartAndForwardHead()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
| void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::BuildStartAndForwardHead |
( |
internal::SVector< ArcIndexType, NodeIndexType > * | head, |
|
|
internal::Vector< NodeIndexType, ArcIndexType > * | start, |
|
|
std::vector< ArcIndexType > * | permutation ) |
|
protected |
◆ ComputeCumulativeSum()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
| void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::ComputeCumulativeSum |
( |
internal::Vector< NodeIndexType, ArcIndexType > * | v | ) |
|
|
protected |
◆ FreezeCapacities()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
| void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::FreezeCapacities |
( |
| ) |
|
◆ IsArcValid()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| bool util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::IsArcValid |
( |
ArcIndexType | arc | ) |
const |
|
inline |
◆ IsBuilt()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| virtual bool util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::IsBuilt |
( |
| ) |
const |
|
inlinevirtual |
◆ IsNodeValid()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| bool util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::IsNodeValid |
( |
NodeIndexType | node | ) |
const |
|
inline |
◆ node_capacity()
template<typename Impl, typename NodeIndexType, typename ArcIndexType, bool HasNegativeReverseArcs>
| NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::node_capacity |
( |
| ) |
const |
◆ num_arcs()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| ArcIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::num_arcs |
( |
| ) |
const |
|
inline |
◆ num_nodes()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::num_nodes |
( |
| ) |
const |
|
inline |
◆ operator=()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| BaseGraph & util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::operator= |
( |
const BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs > & | | ) |
|
|
default |
◆ Reserve()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::Reserve |
( |
NodeIndexType | node_capacity, |
|
|
ArcIndexType | arc_capacity ) |
|
inline |
◆ ReserveArcs()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| virtual void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::ReserveArcs |
( |
ArcIndexType | bound | ) |
|
|
inlinevirtual |
◆ ReserveNodes()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| virtual void util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::ReserveNodes |
( |
NodeIndexType | bound | ) |
|
|
inlinevirtual |
◆ size()
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
| NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::size |
( |
| ) |
const |
|
inline |
◆ arc_capacity_
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
ArcIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::arc_capacity_
|
protected |
◆ const_capacities_
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
bool util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::const_capacities_
|
protected |
◆ kHasNegativeReverseArcs
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
bool util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::kHasNegativeReverseArcs = HasNegativeReverseArcs
|
staticconstexpr |
◆ kNilArc
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
ArcIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::kNilArc
|
staticconstexpr |
Initial value:
=
std::numeric_limits<ArcIndexType>::max()
Definition at line 292 of file graph.h.
◆ kNilNode
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::kNilNode
|
staticconstexpr |
Initial value:
=
std::numeric_limits<NodeIndexType>::max()
Definition at line 289 of file graph.h.
◆ node_capacity_
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::node_capacity_
|
protected |
◆ num_arcs_
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
ArcIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::num_arcs_
|
protected |
◆ num_nodes_
template<typename Impl, typename NodeIndexType = int32_t, typename ArcIndexType = int32_t, bool HasNegativeReverseArcs = false>
|
NodeIndexType util::BaseGraph< Impl, NodeIndexType, ArcIndexType, HasNegativeReverseArcs >::num_nodes_
|
protected |
The documentation for this class was generated from the following file: