C# Class VRP.VRPTW.Data.Route

Afficher le fichier Open project: zaycev/vrptw Class Usage Examples

Méthodes publiques

Свойство Type Description
Problem Problem

Méthodes publiques

Méthode Description
AddCustomer ( Customer newCustomer ) : void
Capacity ( ) : double
Copy ( ) : Route
Index ( ) : int
InsertCustomer ( Customer newCustomer, int position ) : void
IsFeasible ( ) : bool
Length ( ) : double
NextServiceBeginTime ( AbsNode newCustomer, AbsNode prevCustomer, double prevTime ) : double
PrintToString ( bool printTime = false, bool printCapacity = false ) : string
RemoveAt ( int position ) : void
Route ( Problem problem ) : System
Route ( Problem problem, Customer seedCustomer ) : System

Private Methods

Méthode Description
AddNode ( AbsNode newNode ) : void
UpdateId ( ) : void

Method Details

AddCustomer() public méthode

public AddCustomer ( Customer newCustomer ) : void
newCustomer Customer
Résultat void

Capacity() public méthode

public Capacity ( ) : double
Résultat double

Copy() public méthode

public Copy ( ) : Route
Résultat Route

Index() public méthode

public Index ( ) : int
Résultat int

InsertCustomer() public méthode

public InsertCustomer ( Customer newCustomer, int position ) : void
newCustomer Customer
position int
Résultat void

IsFeasible() public méthode

public IsFeasible ( ) : bool
Résultat bool

Length() public méthode

public Length ( ) : double
Résultat double

NextServiceBeginTime() public méthode

public NextServiceBeginTime ( AbsNode newCustomer, AbsNode prevCustomer, double prevTime ) : double
newCustomer AbsNode
prevCustomer AbsNode
prevTime double
Résultat double

PrintToString() public méthode

public PrintToString ( bool printTime = false, bool printCapacity = false ) : string
printTime bool
printCapacity bool
Résultat string

RemoveAt() public méthode

public RemoveAt ( int position ) : void
position int
Résultat void

Route() public méthode

public Route ( Problem problem ) : System
problem Problem
Résultat System

Route() public méthode

public Route ( Problem problem, Customer seedCustomer ) : System
problem Problem
seedCustomer Customer
Résultat System

Property Details

Problem public_oe property

public Problem,VRP.VRPTW.Data Problem
Résultat Problem