Skip to main content

GraphNeighborhoodScenario

Agents scenarios · Implementation: mlsysim/engine/scenario_definitions/agents.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

A typed traversal’s exact-tree neighborhood against a call’s retrieval allowance.

Notes

Equation: Result = mlsysim.solvers.GraphNeighborhoodModel.solve with the named scenario fields; no extra fitting or postprocessing is applied.

Assumptions: The supplied inputs use the units and validity regime documented by GraphNeighborhoodModel.solve; this class binds one reproducible configuration.

Excludes: Any behavior excluded by GraphNeighborhoodModel.solve, and measurement or calibration of the supplied inputs.

References

Implementation reference: mlsysim.solvers.GraphNeighborhoodModel.solve documents the composed equation and its sources.

Examples

The named registry scenario supplies the stated inputs; this is a modeled calculation, not a new measurement.

>>> from mlsysim import Scenarios
>>> scenario = Scenarios.TypedTraversalDepthThree
>>> scenario.result.allowance
6144

Attributes

Name Description
children
depth
envelope_tokens
node_tokens
other_input
output_reserve
result Return mlsysim.solvers.GraphNeighborhoodModel.solve for this scenario; output fields retain the units and feasibility semantics specified by that solver.
window

window

Type: int.

Declared default: required.

output_reserve

Type: int.

Declared default: required.

other_input

Type: int.

Declared default: required.

children

Type: int.

Declared default: required.

depth

Type: int.

Declared default: required.

node_tokens

Type: int.

Declared default: required.

envelope_tokens

Type: int.

Declared default: required.

result

engine.scenario_types.GraphNeighborhoodScenario.result

Return mlsysim.solvers.GraphNeighborhoodModel.solve for this scenario; output fields retain the units and feasibility semantics specified by that solver.

Equation: mlsysim.solvers.GraphNeighborhoodModel.solve (scenario fields).

Back to top