Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Level ¶
Data structure for each NRPA recursive call (level)
func (*Level) AdaptPolicy ¶
Adapt the level policy by increasing the probability of the current BestRollout
type NRPA ¶
type NRPA struct { NInter int DataPerLevel []*Level StabilizationFactor int Levels int StaticData *StaticData Actors []*playoutActor // contains filtered or unexported fields }
func (*NRPA) FindCurrentBest ¶
func (*NRPA) PreAllocate ¶
type PlayoutData ¶
type PlayoutData struct {
// contains filtered or unexported fields
}
func NewPlayoutData ¶
func NewPlayoutData(t *entities.TSPTW) *PlayoutData
func (*PlayoutData) Reset ¶
func (d *PlayoutData) Reset()
type Rollout ¶
type Rollout struct { Tour []int Length int Score float64 Makespan float64 Violations int // contains filtered or unexported fields }
Data structure for a NRPA Rollout
func NewRollout ¶
func NewRollout(data *PlayoutData) *Rollout
type StaticData ¶
type StaticData struct {
// contains filtered or unexported fields
}
func NewStaticData ¶
func NewStaticData(t *entities.TSPTW) *StaticData
Click to show internal directories.
Click to hide internal directories.