.memory

PLANit property

Description

The .memory property allows access to the results in-memory. Configuration specific to this output formatter is also accessible via this property

Return type

Memory Output Formatter implementation

Source code: MemoryOutputFormatterWrapper in Wrappers.py

Example 1

from planit import *

# prep
planit_instance = PLANit()
planit_instance.set(TrafficAssignment.TRADITIONAL_STATIC)

#
# <other configuration>
#

planit_instance.activate(OutputFormatter.MEMORY)
planit_instance.memory.<call method>

See also

OutputFormatter.<enum> for all available output formatters
PLANit.activate(+) to see how to activate an output formatter
PLANit.deactivate(+) to see how to de-activate an output formatter Memory output formatter describes the options available on the memory output formatter implementation

Source code

Class PLANit in PLANit.py