Show / Hide Table of Contents

Class CoderProfile

A profile that can be used by the coder to implmenent network-specifics.

Inheritance
System.Object
CoderProfile
OsmCoderProfile
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 abstract class CoderProfile

Constructors

CoderProfile(Profile, Single, Single)

Creates a new coder profile.

Declaration
public CoderProfile(Profile profile, float scoreThreshold, float maxSearch)
Parameters
Profile profile

System.Single scoreThreshold

System.Single maxSearch

Properties

MaxSearch

Gets the maximum search (time or distance depending on used profile).

Declaration
public float MaxSearch { get; }
Property Value
System.Single

MaxSettles

Gets the max settles.

Declaration
public int MaxSettles { get; }
Property Value
System.Int32

Profile

Gets the get factor function.

Declaration
public Profile Profile { get; }
Property Value
Profile

RoutingSettings

Gets the routing settings.

Declaration
public RoutingSettings<float> RoutingSettings { get; }
Property Value
RoutingSettings<System.Single>

ScoreThreshold

Gets the score threshold.

Declaration
public float ScoreThreshold { get; }
Property Value
System.Single

Methods

Extract(IAttributeCollection, out FunctionalRoadClass, out FormOfWay)

Tries to extract fow/frc from the given attributes.

Declaration
public abstract bool Extract(IAttributeCollection tags, out FunctionalRoadClass frc, out FormOfWay fow)
Parameters
IAttributeCollection tags

FunctionalRoadClass frc

FormOfWay fow

Returns
System.Boolean

GetAggressiveRoutingSettings(Single)

Gets more aggressive routing settings.

Declaration
public RoutingSettings<float> GetAggressiveRoutingSettings(float factor)
Parameters
System.Single factor

Returns
RoutingSettings<System.Single>

Match(IAttributeCollection, FormOfWay, FunctionalRoadClass)

Matches nwb/fow.

Declaration
public virtual float Match(IAttributeCollection attributes, FormOfWay fow, FunctionalRoadClass frc)
Parameters
IAttributeCollection attributes

FormOfWay fow

FunctionalRoadClass frc

Returns
System.Single

Back to top Built by Itinero, MIT licensed.