Show / Hide Table of Contents

Class ConnectedConstraint

A constraint that ensures that all the relevant cells can traces a path between them. Commonly the relevancy definition matches the path one, so this effectively forces a single connected component.

Inheritance
object
ConnectedConstraint
Implements
ITileConstraint
Namespace: DeBroglie.Constraints
Assembly: DeBroglie.dll
Syntax
public class ConnectedConstraint : ITileConstraint

Properties

| Edit this page View Source

PathSpec

Declaration
public IPathSpec PathSpec { get; set; }
Property Value
Type Description
IPathSpec
| Edit this page View Source

UsePickHeuristic

If set, configures the propagator to choose tiles that lie on the path first. This can help avoid contradictions in many cases

Declaration
public bool UsePickHeuristic { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Check(TilePropagator)

Called frequently during generation to help maintain the constraint.

Declaration
public void Check(TilePropagator propagator)
Parameters
Type Name Description
TilePropagator propagator

The propagator to constrain

| Edit this page View Source

Init(TilePropagator)

Called once when the propagator first initializes.

Declaration
public void Init(TilePropagator propagator)
Parameters
Type Name Description
TilePropagator propagator

The propagator to constrain

Implements

ITileConstraint
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX