|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
40 namespace fast_multipole_embedder {
47 template<
typename A,
typename B>
59 template<
typename A,
typename B>
70 template<
typename Func>
81 template<
typename A,
typename B>
88 template<
typename Func>
94 template<
typename CondType,
typename ThenType,
typename ElseType = do_nothing>
114 template<
typename A,
typename B>
125 template<
typename CondType,
typename ThenType,
typename ElseType>
127 const ThenType& thenFunc,
const ElseType& elseFunc) {
132 template<
typename CondType,
typename ThenType>
134 const ThenType& thenFunc) {
139 template<
typename F,
typename A>
152 template<
typename F,
typename A>
158 template<
typename FuncFirst,
typename FuncSecond>
172 template<
typename A,
typename B>
180 template<
typename FuncFirst,
typename FuncSecond>
182 const FuncSecond& second) {
187 template<
typename Func>
193 template<
typename A,
typename B>
201 template<
typename Func>
The namespace for all OGDF objects.
if_then_else_functor(const CondType &c, const ThenType &f1, const ElseType &f2)
functor for negating a condition
composition_functor(const FuncFirst &first, const FuncSecond &second)
static pair_call_functor< F, A > pair_call(F f, A a)
creates a pair call resulting in a call f(a, *)
void operator()(uint32_t i)
min_max_functor(const T *ptr, T &min_var, T &max_var)
pair_vice_versa_functor(const Func &f)
void operator()(A a, B b)
void operator()(A a, B b)
Functor for composing two other functors.
static pair_vice_versa_functor< Func > pair_vice_versa(const Func &f)
creates a functor for invoking a functor for a pair(u,v) and then (v,u)
not_condition_functor(const Func &cond)
static not_condition_functor< Func > not_condition(const Func &func)
creator of the negator
void operator()(B second)
condition functor for returning a constant boolean value
bool operator()(A a, B b)
pair_call_functor(F f, A a)
static composition_functor< FuncFirst, FuncSecond > func_comp(const FuncFirst &first, const FuncSecond &second)
create a functor composition of two functors
functor for invoking a functor for a pair(u,v) and then (v,u)
the useless do nothing function
generic min max functor for an array
void operator()(A a, B b)
void operator()(A a, B b)
Basic declarations, included by all source files.
void operator()(A a, B b)
helper functor to generate a pair as parameters
Functor for conditional usage of a functor.
static if_then_else_functor< CondType, ThenType > if_then(const CondType &cond, const ThenType &thenFunc)
creates an if then functor with a condition and a then functor
if_then_else_functor(const CondType &c, const ThenType &f1)
static if_then_else_functor< CondType, ThenType, ElseType > if_then_else(const CondType &cond, const ThenType &thenFunc, const ElseType &elseFunc)
creates an if then else functor with a condition and a then and an else functor