Segment

data class Segment(val entryLocation: IdentityIfc, val exitLocation: IdentityIfc, val length: Int)

This data class represents the origin entryLocation and destination exitLocation of a length of a segment for a conveyor. See the class Conveyor for more details on how segments are used to represent a conveyor.

Constructors

Link copied to clipboard
constructor(entryLocation: IdentityIfc, exitLocation: IdentityIfc, length: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val length: Int
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String