Skip to main content
`Ctrl`+`K`

# aequilibrae.paths.TransitClass

class aequilibrae.paths.TransitClass(name: str, graph: TransitGraph, matrix: AequilibraeMatrix, matrix_core: str | None = None)
  __init__(name: str, graph: TransitGraph, matrix: AequilibraeMatrix, matrix_core: str | None = None)

    Instantiates the class

    Arguments:

      name (`str`): UNIQUE class name.

      graph (`Graph`): Class/mode-specific graph

      matrix (`AequilibraeMatrix`): Class/mode-specific matrix. Supports multiple user classes

  Methods

  `__init__`(name, graph, matrix[, matrix_core]) | Instantiates the class
  `set_demand_matrix_core`(core) | Set the matrix core to use for demand.

  Attributes

  `info` |

  set_demand_matrix_core(core: str)

    Set the matrix core to use for demand.

    Arguments:

      core (`str`):

  property info: dict