LocationGoal

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

Constructors

LocationGoal

#
public LocationGoal(Guid node, Value value)
node (Guid)
value (Value)

Fields

_edges

protected readonly Edge[] _edges
inherited fromGoal

Properties

EdgeCount

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

Icon

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

Id

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

Node

#
public Guid Node { get; }

Nomen

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

Value

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

Methods

Apply

#
public override bool Apply(IIteration iteration)
iteration (IIteration)
Goal.Apply

DependsOnId

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

Edge

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

RemoveReferents

#
public override Goal RemoveReferents(HashSet<Guid> map)
map (HashSet<Guid>)

ResolveCoordinate

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

ResolveNumber

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

WithValue

#
public override GoalWithValue WithValue(Value newValue)
newValue (Value)