dyng
DynamicGraphLayout
Public Member Functions | List of all members
dyng::detail::edge_partition Class Reference

Represents an edge that holds information about its live times. More...

#include <partitions.h>

Inheritance diagram for dyng::detail::edge_partition:
Inheritance graph
[legend]
Collaboration diagram for dyng::detail::edge_partition:
Collaboration graph
[legend]

Public Member Functions

 edge_partition (edge_id id, node_id one, node_id two)
 
void add_live_time (const live_set &edge_live)
 
const live_setlive_time () const
 
live_setlive_time ()
 
- Public Member Functions inherited from dyng::basic_edge< node_partition >
 basic_edge (edge_id id, node_id one, node_id two)
 Sets the id of the edge and ids of two connected nodes.
 
node_id one_id () const
 Returns the id of one connected node.
 
node_id two_id () const
 Returns the id of the other connected node.
 
edge_id id () const
 
bool is_new () const
 Returns if the edge is new in its current state.
 
void is_new (bool value)
 Sets if the node is new in its current state.
 
bool is_old () const
 Returns if the edge is going to be deleted in the next state.
 
void is_old (bool value)
 Sets if the node is going to be deleted in the next state.
 
float alpha () const
 Returns current alpha value. More...
 
void alpha (float value)
 Sets the current alpha value.
 
node_partition & node_one ()
 Returns a reference to one connected node.
 
const node_partition & node_one () const
 Returns a const reference to one connected node.
 
node_partition & node_two ()
 Returns a reference to the other connected node.
 
const node_partition & node_two () const
 Returns a const reference to the other connected node.
 
void set_ptr (detail::container< node_partition, node_id > *cont)
 Sets the pointer to the object detail::container. More...
 

Detailed Description

Represents an edge that holds information about its live times.

Used internally by foresighted_layout.

See also
dyng::live_time, foresighted_layout

The documentation for this class was generated from the following file: