LocationGoal

GoalWithValueGoal
public sealed class LocationGoal : GoalWithValue
A goal for fixed point locations.

Constructors

LocationGoal

#
public LocationGoal(
node,
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

Node

#
public Guid Node { get; }

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

#
public override Goal RemoveReferents()

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
)