Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobility_destination_sequence_sampler-0.1.0.tar.gz (155.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mobility_destination_sequence_sampler-0.1.0-cp311-abi3-win_amd64.whl (442.4 kB view details)

Uploaded CPython 3.11+Windows x86-64

mobility_destination_sequence_sampler-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl (561.8 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.34+ x86-64

mobility_destination_sequence_sampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl (496.6 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file mobility_destination_sequence_sampler-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mobility_destination_sequence_sampler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 35b99d772886d4d23643399533eed56442a4f1ef9a997a0b44fbe70e775e5d1d
MD5 9d23ee5aef48a58506f901025c57d0f9
BLAKE2b-256 711e80ed4e7951eaf2e7b248a2d7b7a261446c4a2b663ddba897aab8f0b947b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.0.tar.gz:

Publisher: wheels.yml on mobility-team/mobility-destination-sequence-sampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mobility_destination_sequence_sampler-0.1.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for mobility_destination_sequence_sampler-0.1.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d5f0233efe5fb6c8f549cab06759e79fa11ede6b886fdd4bd637735287c96c45
MD5 65b181143dd151ed7fa57b81b84039da
BLAKE2b-256 e6de9f25f03f7d30fb85c661aa7d733844e99ef17cfd18a919ae7832fb368b22

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.0-cp311-abi3-win_amd64.whl:

Publisher: wheels.yml on mobility-team/mobility-destination-sequence-sampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mobility_destination_sequence_sampler-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for mobility_destination_sequence_sampler-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 beb758e6127a823f364593564ab7396384cf4651d542df0f9b9c1668657096be
MD5 14e2dec133585492db6651eebb71aef9
BLAKE2b-256 24133827a0ededc2f0aa2071c123ad511221174863f84ddbaa32f02cd2d7d6af

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.0-cp311-abi3-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on mobility-team/mobility-destination-sequence-sampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mobility_destination_sequence_sampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mobility_destination_sequence_sampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db13f790c5b9ce6abb9cf01f5104f67545b9d3ea53995e5d983477358d4522f9
MD5 81376a5626d52dfc14a22cfe348683d8
BLAKE2b-256 8caeda68ccc1e484ae1805c8df0da1e7e248090adf4db935258916db9398db70

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobility_destination_sequence_sampler-0.1.0-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: wheels.yml on mobility-team/mobility-destination-sequence-sampler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page