Class RoutingGraph
Inheritance
System.Object
RoutingGraph
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public class RoutingGraph
Properties
Locked
Declaration
public static bool Locked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Updating
Declaration
public static bool Updating { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CreateUserEdge(String, String, Single)
Declaration
public static void CreateUserEdge(string source, string destination, float distance)
Parameters
Type |
Name |
Description |
System.String |
source |
|
System.String |
destination |
|
System.Single |
distance |
|
CreateUserVertex(String)
Declaration
public static void CreateUserVertex(string ap)
Parameters
Type |
Name |
Description |
System.String |
ap |
|
RemoveUserEdge(String, String)
Declaration
public static void RemoveUserEdge(string source, string destination)
Parameters
Type |
Name |
Description |
System.String |
source |
|
System.String |
destination |
|
RemoveUserVertex(String)
Declaration
public static void RemoveUserVertex(string ap)
Parameters
Type |
Name |
Description |
System.String |
ap |
|
RemoveUserVertices()
Declaration
public static void RemoveUserVertices()
ShortestPathDijkstra(String, String, out Single)
Declaration
public static List<string> ShortestPathDijkstra(string sourceAp, string destinationAp, out float distance)
Parameters
Type |
Name |
Description |
System.String |
sourceAp |
|
System.String |
destinationAp |
|
System.Single |
distance |
|
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Update()
Declaration
public static void Update()
Update(Boolean)
Declaration
public static void Update(bool force)
Parameters
Type |
Name |
Description |
System.Boolean |
force |
|
Events
OnGraphUpdated
Declaration
public static event Action OnGraphUpdated
Event Type
Type |
Description |
System.Action |
|