Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public fields | Properties | Public Member Functions | List of all members
Loyc.Graphs.IGraph< out Node, out Edge, out EdgeList, out Cost > Interface Template Reference

A directed graph, consisting of nodes and edges. More...


Source file:
Inheritance diagram for Loyc.Graphs.IGraph< out Node, out Edge, out EdgeList, out Cost >:
Loyc.Graphs.IGraph< out Node > Loyc.Graphs.IGraph< out Node, out Edge > Loyc.Graphs.IGraph< out Node, out Edge, out EdgeList >

Remarks

A directed graph, consisting of nodes and edges.

Template Parameters
NodeNode type, e.g. types or modules in a program, intersections, or locations
EdgeEdge type, e.g. dependencies in a program, roadways, pipes or lines
CostEdge weight type, used to represent how expensive or time-consuming it is to use or travel along an edge
Type Constraints
Node :INode<EdgeList> 
Edge :IEdgeTo 
Edge :Node 
Edge :Cost 
EdgeList :IEnumerable<Edge> 

Public fields

IEnumerable< Edge > Edges => LGInterfaces.GetOutboundDirectEdges<Node
 
IEnumerable< Edge > Edge
 

Properties

IEnumerable< Node > Nodes [get]
 

Public Member Functions

IEnumerable< Edge > EdgeList (Nodes)