foresight.eqsat.rewriting.patterns
Members list
Type members
Classlikes
A compiled pattern.
A compiled pattern.
Type parameters
- EGraphT
-
The type of the e-graph that the pattern is compiled for.
- NodeT
-
The type of the nodes in the e-graph.
Value parameters
- instructions
-
The instructions of the compiled pattern.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A companion object for CompiledPattern.
A companion object for CompiledPattern.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompiledPattern.type
An instruction for the pattern-matching virtual machine.
An instruction for the pattern-matching virtual machine.
Type parameters
- EGraphT
-
The type of the e-graph.
- NodeT
-
The type of the nodes in the e-graph.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
A companion object for the Instruction
trait.
A companion object for the Instruction
trait.
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Instruction.type
A pattern-matching virtual machine. The machine executes a sequence of instructions on a graph and maintains a machine state that is updated after each instruction.
A pattern-matching virtual machine. The machine executes a sequence of instructions on a graph and maintains a machine state that is updated after each instruction.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Machine.type
An error that occurs during the execution of a pattern machine.
An error that occurs during the execution of a pattern machine.
Type parameters
- NodeT
-
The type of the nodes in the e-graph.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
A companion object for the MachineError
trait.
A companion object for the MachineError
trait.
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MachineError.type
The result of executing a pattern machine.
A companion object for the MachineResult
trait.
A companion object for the MachineResult
trait.
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MachineResult.type
A phase of a searcher that searches for matches of a pattern machine in an e-graph.
A phase of a searcher that searches for matches of a pattern machine in an e-graph.
Type parameters
- EGraphT
-
The type of the e-graph that the searcher searches in.
- NodeT
-
The type of the nodes in the e-graph.
Value parameters
- pattern
-
The pattern to search for.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The state of a pattern machine.
The state of a pattern machine.
Type parameters
- NodeT
-
The type of the nodes in the e-graph.
Value parameters
- boundNodes
-
The nodes that are bound in the machine.
- boundSlots
-
The slots that are bound in the machine.
- boundVars
-
The variables that are bound in the machine.
- registers
-
The registers of the machine.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A companion object for machine states.
A companion object for machine states.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MachineState.type
An applier that applies a pattern match to an e-graph.
An applier that applies a pattern match to an e-graph.
Type parameters
- EGraphT
-
The type of the e-graph that the applier applies the match to.
- NodeT
-
The type of the nodes in the e-graph.
Value parameters
- pattern
-
The pattern to apply.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A compiler that compiles patterns into a list of instructions for the pattern-matching virtual machine.
A compiler that compiles patterns into a list of instructions for the pattern-matching virtual machine.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PatternCompiler.type
A match of a pattern.
A match of a pattern.
Type parameters
- NodeT
-
The type of the nodes in the e-graph.
Value parameters
- root
-
The e-class in which the pattern was found.
- slotMapping
-
The mapping from slot variables to slots.
- varMapping
-
The mapping from pattern variables to e-graph nodes.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all