![]() |
MFEM
v4.3.0
Finite element discretization library
|
#include <gecko.hpp>
Protected Member Functions | |
Graph (uint nodes, uint level) | |
Float | length (Node::Index i, Node::Index j) const |
Float | length (Arc::Index a) const |
Graph * | coarsen () |
void | refine (const Graph *graph) |
void | relax (bool compatible, uint m=1) |
void | optimize (uint n) |
void | place (bool sort=false) |
void | place (bool sort, uint k, uint n) |
void | vcycle (uint n, uint work=0) |
void | shuffle (uint seed=0) |
void | reweight (uint i) |
WeightedSum | cost (const std::vector< Arc::Index > &subset, Float pos) const |
bool | persistent (Node::Index i) const |
bool | placed (Node::Index i) const |
Protected Attributes | |
Functional * | functional |
Progress * | progress |
std::vector< Node::Index > | perm |
std::vector< Node > | node |
std::vector< Node::Index > | adj |
std::vector< Float > | weight |
std::vector< Float > | bond |
Friends | |
class | Subgraph |
class | Drawing |
Arc::Index Graph::arc_index | ( | Node::Index | i, |
Node::Index | j | ||
) | const |
Node::Index Graph::arc_source | ( | Arc::Index | a | ) | const |
|
inline |
|
inline |
|
protected |
Arc::Index Graph::directed | ( | ) | const |
Arc::Index Graph::insert_arc | ( | Node::Index | i, |
Node::Index | j, | ||
Float | w = 1 , |
||
Float | b = 1 |
||
) |
Node::Index Graph::insert_node | ( | Float | length = 1 | ) |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
std::vector< Node::Index > Graph::node_neighbors | ( | Node::Index | i | ) | const |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
protected |
bool Graph::remove_arc | ( | Arc::Index | a | ) |
bool Graph::remove_arc | ( | Node::Index | i, |
Node::Index | j | ||
) |
bool Graph::remove_edge | ( | Node::Index | i, |
Node::Index | j | ||
) |
Arc::Index Graph::reverse_arc | ( | Arc::Index | a | ) | const |
|
protected |
|
protected |
|
protected |