TimeWindow

org.ddolibscala.example.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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product