Show / Hide Table of Contents

Class EdgeDifferencePriorityCalculator

A priority calculator.

Inheritance
System.Object
EdgeDifferencePriorityCalculator
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 EdgeDifferencePriorityCalculator : IPriorityCalculator

Constructors

EdgeDifferencePriorityCalculator(DirectedMetaGraph, IWitnessCalculator)

Creates a new priority calculator.

Declaration
public EdgeDifferencePriorityCalculator(DirectedMetaGraph graph, IWitnessCalculator witnessCalculator)
Parameters
DirectedMetaGraph graph

IWitnessCalculator witnessCalculator

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

Calculate(BitArray32, UInt32)

Calculates the priority of the given vertex.

Declaration
public float Calculate(BitArray32 contractedFlags, uint vertex)
Parameters
BitArray32 contractedFlags

System.UInt32 vertex

Returns
System.Single

Implements
IPriorityCalculator.Calculate(BitArray32, UInt32)

NotifyContracted(UInt32)

Notifies this calculator that the given vertex was contracted.

Declaration
public void NotifyContracted(uint vertex)
Parameters
System.UInt32 vertex

Implements
IPriorityCalculator.NotifyContracted(UInt32)
Back to top Built by Itinero, MIT licensed.