Show / Hide Table of Contents

Class DynamicProfile

Represents a dynamic routing profile that is based on a lua function.

Inheritance
System.Object
Profile
DynamicProfile
Inherited Members
Profile.FullName
Profile.Parent
Profile.ConstrainedVariables
Profile.IProfileInstance.Profile
Profile.IProfileInstance.Constraints
Profile.BuildConstrained(Single[])
Profile.Register(Profile)
Profile.GetRegistered(String)
Profile.ClearRegistered()
Profile.TryGet(String, Profile)
Profile.GetRegistered()
Profile.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 DynamicProfile : Profile, IProfileInstance

Properties

InstructionGenerator

Gets the unimodal instruction generator.

Declaration
public override IUnimodalInstructionGenerator InstructionGenerator { get; }
Property Value
IUnimodalInstructionGenerator

Overrides
Profile.InstructionGenerator

Metric

Gets the metric.

Declaration
public override ProfileMetric Metric { get; }
Property Value
ProfileMetric

Overrides
Profile.Metric

Name

Gets the name.

Declaration
public override string Name { get; }
Property Value
System.String

Overrides
Profile.Name

VehicleTypes

Gets the vehicle types.

Declaration
public override string[] VehicleTypes { get; }
Property Value
System.String[]

Overrides
Profile.VehicleTypes

Methods

Equals(IAttributeCollection, IAttributeCollection)

Returns true if the two edges with the given attributes are identical as far as this profile is concerned.

Declaration
public override sealed bool Equals(IAttributeCollection attributes1, IAttributeCollection attributes2)
Parameters
IAttributeCollection attributes1

IAttributeCollection attributes2

Returns
System.Boolean

Overrides
Profile.Equals(IAttributeCollection, IAttributeCollection)
Remarks

Default implementation compares attributes one-by-one.

FactorAndSpeed(IAttributeCollection)

Get a function to calculate properties for a set given edge attributes.

Declaration
public override sealed FactorAndSpeed FactorAndSpeed(IAttributeCollection attributes)
Parameters
IAttributeCollection attributes

Returns
FactorAndSpeed

Overrides
Profile.FactorAndSpeed(IAttributeCollection)
Back to top Built by Itinero, MIT licensed.