Directories
¶
| Path | Synopsis |
|---|---|
|
Package actor provides an Actor model built on Petri nets with message passing.
|
Package actor provides an Actor model built on Petri nets with message passing. |
|
Package cache provides memoization for ODE simulations.
|
Package cache provides memoization for ODE simulations. |
|
cmd
|
|
|
pflow
command
|
|
|
codegen
|
|
|
solidity
Package solidity generates Solidity smart contracts from token model schemas.
|
Package solidity generates Solidity smart contracts from token model schemas. |
|
Package engine provides a state machine harness for continuous Petri net simulation.
|
Package engine provides a state machine harness for continuous Petri net simulation. |
|
Package eventlog provides parsing and analysis of process event logs.
|
Package eventlog provides parsing and analysis of process event logs. |
|
Package eventsource provides event sourcing infrastructure for CQRS applications.
|
Package eventsource provides event sourcing infrastructure for CQRS applications. |
|
examples
|
|
|
basic
command
|
|
|
chess/cmd
command
|
|
|
coffeeshop
Package coffeeshop demonstrates a fully automated coffee shop using go-pflow.
|
Package coffeeshop demonstrates a fully automated coffee shop using go-pflow. |
|
coffeeshop/cmd
command
Coffee Shop Automation Demo
|
Coffee Shop Automation Demo |
|
coffeeshop/cmd/sim
command
Coffee Shop Simulator CLI
|
Coffee Shop Simulator CLI |
|
connect4/cmd
command
|
|
|
erc
command
Package main demonstrates defining ERC token standards as Petri net schemas and generating Solidity contracts from them.
|
Package main demonstrates defining ERC token standards as Petri net schemas and generating Solidity contracts from them. |
|
eventlog_demo
command
|
|
|
f91w
Package f91w provides a Petri net simulation of the Casio F-91W digital watch.
|
Package f91w provides a Petri net simulation of the Casio F-91W digital watch. |
|
f91w/cmd
command
Casio F-91W Watch Simulator Based on the XState machine from https://github.com/dundalek/casio-f91w-fsm
|
Casio F-91W Watch Simulator Based on the XState machine from https://github.com/dundalek/casio-f91w-fsm |
|
incident_simulator
command
|
|
|
knapsack/cmd
command
|
|
|
mining_demo
command
|
|
|
monitoring_demo
command
|
|
|
neural/cmd/demo
command
|
|
|
neural/cmd/main
command
|
|
|
neural/cmd/reverse
command
|
|
|
nim/cmd
command
|
|
|
poker/cmd
command
|
|
|
stoplight
command
|
|
|
sudoku/cmd
command
|
|
|
tictactoe/cmd
command
|
|
|
tictactoe/metamodel
Package metamodel demonstrates the struct tag DSL for Tic-tac-toe.
|
Package metamodel demonstrates the struct tag DSL for Tic-tac-toe. |
|
trafficlight
command
|
|
|
visualization_demo
command
Visualization demo - generates example SVG files for workflows and state machines
|
Visualization demo - generates example SVG files for workflows and state machines |
|
Package graphql provides a GraphQL server for Petri net models.
|
Package graphql provides a GraphQL server for Petri net models. |
|
example
command
Example GraphQL server for Petri net models.
|
Example GraphQL server for Petri net models. |
|
Package hypothesis provides utilities for evaluating hypothetical states via ODE simulation.
|
Package hypothesis provides utilities for evaluating hypothetical states via ODE simulation. |
|
Package learn implements learnable rate functions for Neural ODE-style parameter estimation in Petri net models.
|
Package learn implements learnable rate functions for Neural ODE-style parameter estimation in Petri net models. |
|
Package metamodel provides compatibility utilities for migrating from the legacy Model type to the modern generic PetriNet types.
|
Package metamodel provides compatibility utilities for migrating from the legacy Model type to the modern generic PetriNet types. |
|
Package mining provides process mining algorithms including discovery and conformance checking.
|
Package mining provides process mining algorithms including discovery and conformance checking. |
|
Package monitoring provides real-time predictive process monitoring.
|
Package monitoring provides real-time predictive process monitoring. |
|
Package parser handles JSON import/export for Petri nets.
|
Package parser handles JSON import/export for Petri nets. |
|
Package petri implements core Petri net data structures.
|
Package petri implements core Petri net data structures. |
|
Package plotter provides SVG visualization for ODE solutions.
|
Package plotter provides SVG visualization for ODE solutions. |
|
Package reachability provides state space analysis for Petri nets.
|
Package reachability provides state space analysis for Petri nets. |
|
Package results defines the structured output format for simulations
|
Package results defines the structured output format for simulations |
|
Package sensitivity provides tools for analyzing how Petri net behavior changes with different parameters.
|
Package sensitivity provides tools for analyzing how Petri net behavior changes with different parameters. |
|
Package solver implements ODE (Ordinary Differential Equation) solvers for Petri net simulation using mass-action kinetics.
|
Package solver implements ODE (Ordinary Differential Equation) solvers for Petri net simulation using mass-action kinetics. |
|
Package statemachine provides a high-level API for modeling hierarchical state machines (statecharts) using Petri nets as the underlying formalism.
|
Package statemachine provides a high-level API for modeling hierarchical state machines (statecharts) using Petri nets as the underlying formalism. |
|
Package stateutil provides utility functions for manipulating Petri net state maps.
|
Package stateutil provides utility functions for manipulating Petri net state maps. |
|
Package templates provides common Petri net patterns
|
Package templates provides common Petri net patterns |
|
Package tokenmodel defines abstract building blocks for formal models.
|
Package tokenmodel defines abstract building blocks for formal models. |
|
dsl
Package dsl implements an S-expression DSL for defining token model schemas.
|
Package dsl implements an S-expression DSL for defining token model schemas. |
|
guard
Package guard implements a secure guard expression evaluator for Petri net transitions.
|
Package guard implements a secure guard expression evaluator for Petri net transitions. |
|
petri
Package petri provides structural analysis for Petri net invariant proofs.
|
Package petri provides structural analysis for Petri net invariant proofs. |
|
Package validation provides structural analysis and validation for Petri nets
|
Package validation provides structural analysis and validation for Petri nets |
|
Package visualization provides utilities for visualizing Petri nets as SVG.
|
Package visualization provides utilities for visualizing Petri nets as SVG. |
|
Package workflow provides a comprehensive workflow management framework built on Petri nets with support for task dependencies, resource management, SLA tracking, and real-time monitoring.
|
Package workflow provides a comprehensive workflow management framework built on Petri nets with support for task dependencies, resource management, SLA tracking, and real-time monitoring. |
|
Package zkcompile transforms Petri net models into ZK circuit constraints.
|
Package zkcompile transforms Petri net models into ZK circuit constraints. |
|
petrigen
Package petrigen generates gnark ZK circuits from Petri net models.
|
Package petrigen generates gnark ZK circuits from Petri net models. |
Click to show internal directories.
Click to hide internal directories.