| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.Game.Scenario.Topography.Structure.Recognition
Description
Public interface for structure recognizer.
Synopsis
- data StructureRecognizer b a = StructureRecognizer {
- _automatons :: RecognizerAutomatons b a
- _foundStructures :: FoundRegistry b a
- _recognitionLog :: [SearchLog a]
- recognitionLog :: forall b a. Lens' (StructureRecognizer b a) [SearchLog a]
- foundStructures :: forall b a. Lens' (StructureRecognizer b a) (FoundRegistry b a)
- automatons :: forall b a. Lens' (StructureRecognizer b a) (RecognizerAutomatons b a)
Documentation
data StructureRecognizer b a Source #
The type parameters, b, and a, correspond
to StructureCells and Entity, respectively.
Constructors
| StructureRecognizer | |
Fields
| |
Instances
recognitionLog :: forall b a. Lens' (StructureRecognizer b a) [SearchLog a] Source #
foundStructures :: forall b a. Lens' (StructureRecognizer b a) (FoundRegistry b a) Source #
automatons :: forall b a. Lens' (StructureRecognizer b a) (RecognizerAutomatons b a) Source #