TimeWindow

be.cetic.ddolibscala.examples.layered.tsptw.TimeWindow
case class TimeWindow(start: Int, end: Int)

Represents a time window with a start and end time.

A TimeWindow defines an interval [start, end] during which an event, task, or visit must occur. Both start and end are inclusive and usually represented as integer time units (e.g., minutes, hours).

Typical usage is in scheduling problems such as the Traveling Salesman Problem with Time Windows (TSPTW), where each location or task has a limited time window in which it can be visited or executed.

Value parameters

end

the end of the time window (inclusive)

start

the beginning of the time window (inclusive)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product