Class HierarchyBuilder<T>
Builds a contraction hierarchy.
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()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class HierarchyBuilder<T> : AlgorithmBase, IAlgorithm where T : struct
Type Parameters
T
|
Constructors
HierarchyBuilder(DirectedMetaGraph, DykstraWitnessCalculator<T>, WeightHandler<T>)
Creates a new hierarchy builder.
Declaration
public HierarchyBuilder(DirectedMetaGraph graph, DykstraWitnessCalculator<T> witnessCalculator, WeightHandler<T> weightHandler)
Parameters
DirectedMetaGraph
graph
|
DykstraWitnessCalculator<T>
witnessCalculator
|
WeightHandler<T>
weightHandler
|
Fields
E
Declaration
public const float E = 0.1F
Field Value
System.Single
|
Properties
ContractedFactor
Gets or sets the contracted factor.
Declaration
public int ContractedFactor { get; set; }
Property Value
System.Int32
|
DepthFactor
Gets or sets the depth factor.
Declaration
public int DepthFactor { get; set; }
Property Value
System.Int32
|
DifferenceFactor
Gets or sets the difference factor.
Declaration
public int DifferenceFactor { get; set; }
Property Value
System.Int32
|
Methods
DoRun(CancellationToken)
Excutes the actual run.
Declaration
protected override void DoRun(CancellationToken cancellationToken)
Parameters
CancellationToken
cancellationToken
|
Overrides
NotifyContracted(UInt32)
Notifies this calculator that the given vertex was contracted.
Declaration
public void NotifyContracted(uint vertex)
Parameters
System.UInt32
vertex
|