rippled
Classes | Functions
ripple::PeerFinder::Sim Namespace Reference

Classes

class  FunctionQueue
 Maintains a queue of functors that can be called later. More...
 
class  is_remote_endpoint
 UnaryPredicate, true if the remote address matches. More...
 
class  is_remote_node_pred
 UnaryPredicate, returns true if the 'to' node on a Link matches. More...
 
class  Message
 
struct  NodeSnapshot
 A snapshot of a Node in the network simulator. More...
 
struct  Params
 Defines the parameters for a network simulation. More...
 
struct  VertexTraits
 

Functions

template<typename Vertex , typename Function >
void breadth_first_traverse (Vertex &start, Function f)
 Call a function for each vertex in a connected graph. More...
 

Function Documentation

◆ breadth_first_traverse()

template<typename Vertex , typename Function >
void ripple::PeerFinder::Sim::breadth_first_traverse ( Vertex &  start,
Function  f 
)

Call a function for each vertex in a connected graph.

Function will be called with this signature: void (Vertex&, std::size_t diameter);

Definition at line 37 of file GraphAlgorithms.h.

◆ is_remote_node() [1/2]

template<typename Node >
is_remote_node_pred<Node> ripple::PeerFinder::Sim::is_remote_node ( Node const &  node)

Definition at line 49 of file Predicates.h.

◆ is_remote_node() [2/2]

template<typename Node >
is_remote_node_pred<Node> ripple::PeerFinder::Sim::is_remote_node ( Node const *  node)

Definition at line 56 of file Predicates.h.