Show / Hide Table of Contents

Class Propagation

Inheritance
System.Object
Propagation
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
public static class Propagation

Methods

ConstructFlatDictionary(IEnumerable<KeyValuePair<FaceHash, FaceHash>>)

Declaration
public static KeyValuePair<FaceHash, FaceHash>[] ConstructFlatDictionary(IEnumerable<KeyValuePair<FaceHash, FaceHash>> unorderedElements)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>> unorderedElements
Returns
Type Description
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[]

DoWithNeighbourSlots(Slot, Propagation.DoWithSlot)

Declaration
public static void DoWithNeighbourSlots(Slot slot, Propagation.DoWithSlot doWithNeighbour)
Parameters
Type Name Description
Slot slot
Propagation.DoWithSlot doWithNeighbour

IsTransformedModuleValidInSlot(Slot, TransformedModule, IList<Module>, KeyValuePair<FaceHash, FaceHash>[], KeyValuePair<FaceHash, FaceHash>[])

Declaration
public static bool IsTransformedModuleValidInSlot(Slot slot, TransformedModule module, IList<Module> modules, KeyValuePair<FaceHash, FaceHash>[] horizontalFaceToRequiredFace, KeyValuePair<FaceHash, FaceHash>[] verticalFaceToRequiredFace)
Parameters
Type Name Description
Slot slot
TransformedModule module
System.Collections.Generic.IList<Module> modules
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[] horizontalFaceToRequiredFace
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[] verticalFaceToRequiredFace
Returns
Type Description
System.Boolean

PropagateCoroutine(List<Slot>, IList<Module>, KeyValuePair<FaceHash, FaceHash>[], KeyValuePair<FaceHash, FaceHash>[], Propagation.ReportPropagationResult, List<KeyValuePair<Slot, List<TransformedModule>>>, Propagation.ReportContradictionSlot)

Declaration
public static IEnumerable<CoroutineStatus> PropagateCoroutine(List<Slot> dirtySlots, IList<Module> modules, KeyValuePair<FaceHash, FaceHash>[] horizontalFaceToRequiredFace, KeyValuePair<FaceHash, FaceHash>[] verticalFaceToRequiredFace, Propagation.ReportPropagationResult resultReporter, List<KeyValuePair<Slot, List<TransformedModule>>> removedModules, Propagation.ReportContradictionSlot contradictionReporter = null)
Parameters
Type Name Description
System.Collections.Generic.List<Slot> dirtySlots
System.Collections.Generic.IList<Module> modules
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[] horizontalFaceToRequiredFace
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[] verticalFaceToRequiredFace
Propagation.ReportPropagationResult resultReporter
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<Slot, System.Collections.Generic.List<TransformedModule>>> removedModules
Propagation.ReportContradictionSlot contradictionReporter
Returns
Type Description
System.Collections.Generic.IEnumerable<CoroutineStatus>

PropagateOne(Slot, IList<Module>, KeyValuePair<FaceHash, FaceHash>[], KeyValuePair<FaceHash, FaceHash>[], List<TransformedModule>, Propagation.ReportContradictionSlot)

Declaration
public static Propagation.PropagationResult PropagateOne(Slot dirtySlot, IList<Module> modules, KeyValuePair<FaceHash, FaceHash>[] horizontalFaceToRequiredFace, KeyValuePair<FaceHash, FaceHash>[] verticalFaceToRequiredFace, List<TransformedModule> removedModules, Propagation.ReportContradictionSlot contradictionReporter = null)
Parameters
Type Name Description
Slot dirtySlot
System.Collections.Generic.IList<Module> modules
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[] horizontalFaceToRequiredFace
System.Collections.Generic.KeyValuePair<FaceHash, FaceHash>[] verticalFaceToRequiredFace
System.Collections.Generic.List<TransformedModule> removedModules
Propagation.ReportContradictionSlot contradictionReporter
Returns
Type Description
Propagation.PropagationResult
In This Article
Generated by DocFX Version: 3.2.1 - click to show/hide other versions