Train Docs
Fall 2025
API

# Train

o1.train.Train
See the Train companion class
object Train

This companion object of the `Train` class merely provides a named constant that the class uses.

## Attributes

See also

  the class Train

Companion
  class
Graph
Supertypes
  class Object
  trait Matchable
  class Any
Self type
  Train.type

## Members list

### Value members

#### Concrete fields

val MaximumLength: Int

The maximum length, in cars, of a train.

The maximum length, in cars, of a train.

## Attributes