C# Class Ivento.Dci.Examples.Djikstra.Data.ManhattanGeometry

Inheritance: CalculateShortestPath.MapRole
Mostra file Open project: ciscoheat/ivento-dci

Public Methods

Method Description
ManhattanGeometry ( ) : System
ManhattanGeometry ( char fromATo ) : System

Initialize a map with nodes.

Protected Methods

Method Description
SetDistance ( char a, char b, int distance, Direction dir ) : void

Convenience method for inherited classes to create paths between nodes.

Method Details

ManhattanGeometry() public method

public ManhattanGeometry ( ) : System
return System

ManhattanGeometry() public method

Initialize a map with nodes.
public ManhattanGeometry ( char fromATo ) : System
fromATo char End node name. Starting with lowercase a.
return System

SetDistance() protected method

Convenience method for inherited classes to create paths between nodes.
protected SetDistance ( char a, char b, int distance, Direction dir ) : void
a char
b char
distance int
dir Direction
return void