Iteration

public sealed class Iteration : IIteration
A single iteration in a solver process.

Constructors

Iteration

#
public Iteration()

Properties

Explicit

IIteration.Token

#
Cancellation token for this iteration.
Token

ParentSystem

#
Gets the system which originated this stepwise solution.
public ConstraintSystem ParentSystem { get; }
ParentSystem

Resolver

#
Gets the resolver to be used for expressions.
public Resolver Resolver { get; }
Resolver

Methods

FindNode

#
Find a node within the system.
public IndexedNode FindNode(
nodeId,
Id of node.
sourceGoal = null
Goal which requests this information. If not null and the node cannot be found, a failure message will be appended to this iteration
)
Indexed node or null if node cannot be found.
FindNode

FindScalar

#
Find a scalar within the system.
public IndexedScalar FindScalar(
scalarId,
Id of scalar.
sourceGoal = null
Goal which requests this information. If not null and the node cannot be found, a failure message will be appended to this iteration
)
Indexed scalar or null if scalar cannot be found.
FindScalar
Explicit

IIteration.SetFailure

#
void IIteration.SetFailure(
message
)
SetFailure
Explicit

IIteration.SetNode

#
void IIteration.SetNode(
index,
location
)
SetNode
Explicit

IIteration.SetScalar

#
void IIteration.SetScalar(
index,
value
)
SetScalar
Explicit

IIteration.TrySetEdge

#
bool IIteration.TrySetEdge(
Edge
edge,
arc
)
TrySetEdge
Explicit

IIteration.TrySetEdge

#
bool IIteration.TrySetEdge(
Edge
edge,
circle
)
TrySetEdge
Explicit

IIteration.TrySetEdge

#
bool IIteration.TrySetEdge(
Edge
edge,
line
)
TrySetEdge