Class Puppet::SimpleGraph::VertexWrapper
In: lib/puppet/simple_graph.rb
Parent: Object

An internal class for handling a vertex‘s edges.

Methods

add_edge   adjacent   clear   edges   has_edge?   new   other_vertex   remove_edge   to_s  

Attributes

in  [RW] 
out  [RW] 
vertex  [RW] 

Public Class methods

Public Instance methods

Add an edge to our list.

Remove all references to everything.

Return all known edges.

Test whether we share an edge with a given vertex.

The other vertex in the edge.

Remove an edge from our list. Assumes that we‘ve already checked that the edge is valid.

[Validate]