initial pass on examples
This commit is contained in:
parent
07d079846b
commit
82aaf066e2
19 changed files with 600 additions and 238 deletions
13
README.md
13
README.md
|
|
@ -55,6 +55,19 @@ if results["net1"].is_valid:
|
|||
print("Successfully routed net1!")
|
||||
```
|
||||
|
||||
## Usage Examples
|
||||
|
||||
Check the `examples/` directory for ready-to-run scripts demonstrating core features:
|
||||
|
||||
* **`examples/01_simple_route.py`**: Basic single-net routing with visualization.
|
||||
* **`examples/02_congestion_resolution.py`**: Multi-net routing resolving bottlenecks using Negotiated Congestion.
|
||||
* **`examples/03_locked_paths.py`**: Incremental workflow using `lock_net()` to route around previously fixed paths.
|
||||
|
||||
Run an example:
|
||||
```bash
|
||||
python3 examples/01_simple_route.py
|
||||
```
|
||||
|
||||
## Architecture
|
||||
|
||||
`inire` operates on a **State-Lattice** defined by $(x, y, \theta)$. From any state, the router expands via three primary "Move" types:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue