Class DynamicProfile
Represents a dynamic routing profile that is based on a lua function.
Inherited Members
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
Metric
Gets the metric.
Declaration
public override ProfileMetric Metric { get; }
Property Value
ProfileMetric
|
Overrides
Name
Gets the name.
Declaration
public override string Name { get; }
Property Value
System.String
|
Overrides
VehicleTypes
Gets the vehicle types.
Declaration
public override string[] VehicleTypes { get; }
Property Value
System.String[]
|
Overrides
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
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
|