CoincidentGoal

Goal
public sealed class CoincidentGoal : Goal
Coincidence between a node and an edge.

Constructors

CoincidentGoal

#
public CoincidentGoal(Guid node, params Edge[] edges)
node (Guid)
edges (params Edge[])

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

Nomen

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

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>)