Struct graph_edge_evolution::GraphBuilder [] [src]

pub struct GraphBuilder<W: Debug + Default + Clone, N: Debug + Default + Clone> { /* fields omitted */ }

Methods

impl<W: Debug + Default + Clone + AddAssign<W>, N: Debug + Default + Clone> GraphBuilder<W, N>
[src]

Saves the current state to the internal state stack.

Restore a previously saved state. Returns false, if no saved state exists on the stack.

decrease-weight or increase-weight, depending on the sign of the weight. Updates the weight of the current edge, or in case of a virtual edge, creates a new edge with that weight.

Adds a loop to the current edge's target neuron.

Change from-node of current link to it's n-th sibling. The n-th sibling is the current+n-th incoming node into the to-node.

Change from-node of current link to n-th input edge of current from node. If no input edge exists, the edge is left as is. TODO: Test case The n-th input node is not deleted. NOTE: Does not modify the graph itself, only changes the current link.

Trait Implementations

impl<W: Debug + Debug + Default + Clone, N: Debug + Debug + Default + Clone> Debug for GraphBuilder<W, N>
[src]

Formats the value using the given formatter.