Table of Contents

Class AStarShortestPathsSolver

Namespace
Italbytz.Graph
Assembly
Italbytz.Graph.dll
public class AStarShortestPathsSolver : AShortestPathsSolver, IShortestPathsSolver, ISolver<IShortestPathsParameters, IShortestPathsSolution>
Inheritance
AStarShortestPathsSolver
Implements
Inherited Members

Constructors

AStarShortestPathsSolver(string, bool)

public AStarShortestPathsSolver(string rootVertex = "A", bool saveGraphs = false)

Parameters

rootVertex string
saveGraphs bool

Methods

GetAlgorithm(BidirectionalGraph<string, TaggedEdge<string, double>>)

protected override ShortestPathAlgorithmBase<string, TaggedEdge<string, double>, IVertexListGraph<string, TaggedEdge<string, double>>> GetAlgorithm(BidirectionalGraph<string, TaggedEdge<string, double>> graph)

Parameters

graph BidirectionalGraph<string, TaggedEdge<string, double>>

Returns

ShortestPathAlgorithmBase<string, TaggedEdge<string, double>, IVertexListGraph<string, TaggedEdge<string, double>>>