public sealed class RadiusGoal : GoalWithValue
Circular radius constraint.

Constructors

RadiusGoal

#
public RadiusGoal(
Edge
edge,
value
)

Fields

_edges

protected readonly Edge[] _edges
inherited fromGoal

Properties

EdgeCount

Gets the number of edges this goal is associated with.
public int EdgeCount { get; }
inherited fromGoal

Icon

Gets the icon of this goal.
public IIcon Icon { get; }
inherited fromGoal

Id

Gets the id of this goal.
public Guid Id { get; }
inherited fromGoal

Nomen

Gets the description of this goal.
public Nomen Nomen { get; }
inherited fromGoal

Value

Gets the value linked to this goal.
public Value Value { get; }
inherited fromGoalWithValue

Methods

Apply

#
public override bool Apply(
iteration
)
Goal.Apply

DependsOnId

Test whether this goal depends on a specific node or scalar id.
public bool DependsOnId(
nodeId
)
inherited fromGoal

Edge

Gets the referenced edge at the given index.
public Edge Edge(
index
)
inherited fromGoal

RemoveReferents

Return a modified goal in response to the removal of node or edge referents. By default this method will return null if one of the referenced edges occurs in the map.
public virtual Goal RemoveReferents()
inherited fromGoal

ResolveCoordinate

protected bool ResolveCoordinate(
iteration,
out Point2d
value
)
inherited fromGoalWithValue

ResolveNumber

protected bool ResolveNumber(
iteration,
out double
value
)
inherited fromGoalWithValue

WithValue

#
public override GoalWithValue WithValue(
newValue
)