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.
Metadata
Release files for mobility-destination-sequence-sampler 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mobility_destination_sequence_sampler-0.1.1.tar.gz | 156.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.34+ x86-64 | Details |
| mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 1.7 MB
Release files / mobility_destination_sequence_sampler-0.1.1.tar.gz
| Download URL | mobility_destination_sequence_sampler-0.1.1.tar.gz |
|---|---|
| Size | 156.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
892a52819e7dabb7d0538bdcc44fb8b65d80774a23ce5c93c76723dea6263a7c
|
|
BLAKE2b-256 checksum How to use checksums |
cbf2accfc5fb6497a3cccc384bebfd388778460327a44717b1b703740310211d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl
| Download URL | mobility_destination_sequence_sampler-0.1.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 453.6 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2e13a25fe482a818e8579f799445d33fd425b3f00ec39101c2eeca1efaa07d8c
|
|
BLAKE2b-256 checksum How to use checksums |
b77dc30f11d13a0b7d46244ccf4c9b07894ce630b8de54abe4c52a3b9f0ffa4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl
| Download URL | mobility_destination_sequence_sampler-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 570.8 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6dc6b52d7398df8c61ae70c635c17230657da7ceb37b77748aa65e32ea3c1e73
|
|
BLAKE2b-256 checksum How to use checksums |
baebfb4d0282b4ac4ce8e9a0ce3e01588673caacf45cde15a7bcfc2608de283f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency logRelease files / mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | mobility_destination_sequence_sampler-0.1.1-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 507.3 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
20141c34c8ada1f3899d60c2d0107f9660393392f0be3c155d36856350ae27c2
|
|
BLAKE2b-256 checksum How to use checksums |
a6f635145c9849ad7f71a72ef5be2296a82e191365b827dff3ef5c144cd1fa1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.
Transparency log