flix

0.75.3

Orbit64.Algorithm

enum Algorithm with Eq, ToStringSource
case Algorithm(List[Node], Int32)

A topologically ordered DAG and its exported root node.

Instances

instance Eq[Algorithm]Source
instance ToString[Algorithm]Source

Definitions

def expandedCount(n: Int32, algorithm: Algorithm): Result[String, BigInt]§ Source

Return the number of primitive terminals expanded by the exported root.

def faultOf(n: Int32, algorithm: Algorithm): Option[String]§ Source

Explain why algorithm is not a valid finite DAG for cube size n.

def foldTerminals(n: Int32, algorithm: Algorithm, initial: a, visit: a -> (Move -> a)): Result[String, a]§ Source

Fold the exact terminal stream without materializing its expansion.

def partCount(n: Int32, algorithm: Algorithm): Result[String, BigInt]§ Source

Return the root's stable part count when it has stable boundaries.