Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <linear_assignment.h>
Public Member Functions | |
ArcIndexOrderingByTailNode (const GraphType &graph) | |
bool | operator() (typename GraphType::ArcIndex a, typename GraphType::ArcIndex b) const |
Logically this class should be defined inside OptimizeGraphLayout, but compilation fails if we do that because C++98 doesn't allow instantiation of member templates with function-scoped types as template parameters, which in turn is because those function-scoped types lack linkage.
Definition at line 1060 of file linear_assignment.h.
|
inlineexplicit |
Definition at line 1062 of file linear_assignment.h.
|
inline |
Says ArcIndex a is less than ArcIndex b if arc a's tail is less than arc b's tail. If their tails are equal, orders according to heads.
Definition at line 1067 of file linear_assignment.h.