Bounded top-K destination-plan search and exact oracle for Mobility
Project description
mobility-destination-sequence-sampler
Rust/Python bounded destination-plan top-K search with an exact validation oracle. Mobility prepares inputs; this package owns destination choice.
Transport modeller? Start with
MODELLER_GUIDE.md. It explains the algorithm with a
small activity-plan example, makes the search guarantees explicit, translates
the terminology, and gives a one-context debugging workflow.
Public API
DestinationPlanSearch is the only exported class.
| Method | Purpose |
|---|---|
top_k() |
Fast bounded search. Fully scores returned plans but does not prove they are the global top-K. |
exact_top_k() |
Small-context oracle. Proves the requested top-K or raises proof incomplete at max_states. |
top_k() shortlists plausible destinations, grows partial plans from both
ends, joins them near the middle, improves the best complete plans, and ranks
them with the full rigidity-aware utility. Repeated anchors remain the same
destination throughout a plan. Its report contains top_k_is_proven=False; a
successfully completed exact report contains top_k_is_proven=True.
See DESIGN.md for schemas and invariants.
Callers can supply an optional utility_profile_id on OD costs and initial
locations. This searches several population-specific cost profiles in one
call: destination metadata and parallel scheduling are shared, while each
context uses its assigned OD graph. Calls without the column keep the original
single-profile behavior.
Only those paths are in the working tree. Particle, exhaustive-sampling, and
second-order research is preserved by the research-archive-2026-07-29 Git
tag (for example, git show research-archive-2026-07-29:<path>). Start with
ACTIVE_SEARCH.md for the active algorithm and tuning
contract.
Development
mamba env create -f environment.yml
mamba run -n mobility-destination-sequence-sampler python -m maturin develop --release
mamba run -n mobility-destination-sequence-sampler python -m pytest
Current quality/performance: BENCHMARKS.md. Experiment
routing and decisions: experiments/README.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mobility_destination_sequence_sampler-0.1.1.tar.gz.
File metadata
- Download URL: mobility_destination_sequence_sampler-0.1.1.tar.gz
- Upload date:
- Size: 156.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892a52819e7dabb7d0538bdcc44fb8b65d80774a23ce5c93c76723dea6263a7c
|
|
| MD5 |
1a2d80cc20808db0f9cc009d19540f0c
|
|
| BLAKE2b-256 |
cbf2accfc5fb6497a3cccc384bebfd388778460327a44717b1b703740310211d
|
Provenance
The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.1.tar.gz:
Publisher:
wheels.yml on mobility-team/mobility-destination-sequence-sampler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mobility_destination_sequence_sampler-0.1.1.tar.gz -
Subject digest:
892a52819e7dabb7d0538bdcc44fb8b65d80774a23ce5c93c76723dea6263a7c - Sigstore transparency entry: 2305373552
- Sigstore integration time:
-
Permalink:
mobility-team/mobility-destination-sequence-sampler@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/mobility-team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 453.6 kB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e13a25fe482a818e8579f799445d33fd425b3f00ec39101c2eeca1efaa07d8c
|
|
| MD5 |
485b09cfb72df919536398adbd5bf36d
|
|
| BLAKE2b-256 |
b77dc30f11d13a0b7d46244ccf4c9b07894ce630b8de54abe4c52a3b9f0ffa4c
|
Provenance
The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl:
Publisher:
wheels.yml on mobility-team/mobility-destination-sequence-sampler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl -
Subject digest:
2e13a25fe482a818e8579f799445d33fd425b3f00ec39101c2eeca1efaa07d8c - Sigstore transparency entry: 2305373679
- Sigstore integration time:
-
Permalink:
mobility-team/mobility-destination-sequence-sampler@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/mobility-team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 570.8 kB
- Tags: CPython 3.11+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc6b52d7398df8c61ae70c635c17230657da7ceb37b77748aa65e32ea3c1e73
|
|
| MD5 |
bb0a3f1857fe25ff744c957a3c0c2ad1
|
|
| BLAKE2b-256 |
baebfb4d0282b4ac4ce8e9a0ce3e01588673caacf45cde15a7bcfc2608de283f
|
Provenance
The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl:
Publisher:
wheels.yml on mobility-team/mobility-destination-sequence-sampler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
6dc6b52d7398df8c61ae70c635c17230657da7ceb37b77748aa65e32ea3c1e73 - Sigstore transparency entry: 2305373759
- Sigstore integration time:
-
Permalink:
mobility-team/mobility-destination-sequence-sampler@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/mobility-team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 507.3 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20141c34c8ada1f3899d60c2d0107f9660393392f0be3c155d36856350ae27c2
|
|
| MD5 |
a636ebc268445668b2e5a74d53a746ce
|
|
| BLAKE2b-256 |
a6f635145c9849ad7f71a72ef5be2296a82e191365b827dff3ef5c144cd1fa1e
|
Provenance
The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
wheels.yml on mobility-team/mobility-destination-sequence-sampler
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
20141c34c8ada1f3899d60c2d0107f9660393392f0be3c155d36856350ae27c2 - Sigstore transparency entry: 2305373617
- Sigstore integration time:
-
Permalink:
mobility-team/mobility-destination-sequence-sampler@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/mobility-team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@1c3a5778b30b87c811e4a6b4bff4054afece46a3 -
Trigger Event:
push
-
Statement type: