Satsuma
a delicious .NET graph library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
Satsuma.IBuildableGraph Interface Reference

A graph which can build new nodes and arcs. More...

Inheritance diagram for Satsuma.IBuildableGraph:
Satsuma.IClearable Satsuma.Supergraph Satsuma.CustomGraph

Public Member Functions

Arc AddArc (Node u, Node v, Directedness directedness)
 Adds a directed arc or an edge (undirected arc) between u and v to the graph. More...
 
Node AddNode ()
 Adds a node to the graph. More...
 
void Clear ()
 Reverts the object to its default state. More...
 

Detailed Description

A graph which can build new nodes and arcs.

Definition at line 150 of file Graph.cs.

Member Function Documentation

Arc Satsuma.IBuildableGraph.AddArc ( Node  u,
Node  v,
Directedness  directedness 
)

Adds a directed arc or an edge (undirected arc) between u and v to the graph.

Parameters
uThe source node.
vThe target node.
directednessDetermines whether the new arc will be directed or an edge (i.e. undirected).

Implemented in Satsuma.Supergraph.

Node Satsuma.IBuildableGraph.AddNode ( )

Adds a node to the graph.

Implemented in Satsuma.Supergraph.

void Satsuma.IClearable.Clear ( )
inherited

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