.memory

PlanitProject 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.project.set(TrafficAssignment.TRADITIONAL_STATIC)

#
# <other configuration>
#

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

See also

OutputFormatter.<enum> for all available output formatters
.activate(+) to see how to activate an output formatter
.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 PlanitProject in project.py