Documentation ¶
Index ¶
- type Epsilon
- type ImprovedEpsilon
- type R2S
- func (r2s *R2S) ACD(iter, cfe int, fitness []types.Fitness)
- func (r2s R2S) HasActiveConstraints() bool
- func (r2s *R2S) Initialise(t int, maxviolation float64)
- func (r2s *R2S) Name() string
- func (r2s *R2S) Threshold(gen int) float64
- func (r2s *R2S) Update(t int, cfe float64)
- func (r2s R2S) Violation(t int, fitness types.Fitness) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Epsilon ¶
Epsilon is used for Epsilon constraint handling
func (Epsilon) Initialise ¶
type ImprovedEpsilon ¶
type ImprovedEpsilon struct {
// contains filtered or unexported fields
}
ImprovedEpsilon is used for Improved Epsilon Constraint Handling
func NewIE ¶
func NewIE(tau, alpha, cp float64, tc, maxGenerations int) *ImprovedEpsilon
func (*ImprovedEpsilon) Initialise ¶
func (ie *ImprovedEpsilon) Initialise(generation int, maxViolation float64)
func (*ImprovedEpsilon) Name ¶
func (ie *ImprovedEpsilon) Name() string
func (*ImprovedEpsilon) Threshold ¶
func (ie *ImprovedEpsilon) Threshold(gen int) float64
func (*ImprovedEpsilon) Update ¶
func (ie *ImprovedEpsilon) Update(t int, rfk float64)
Update updates the epsilon value used for the generation (t) based on the feasibility ratio (rfk) of the current generation
type R2S ¶
type R2S struct { Z float64 //InitialDeltaIn, InitialDeltaOut float64 DeltaIn, DeltaOut []float64 HasCheckedActiveConstraints bool ActiveConstraints []bool Val float64 NUMacd, FESc, FESmax int }
R2S struct defines the parameters needed by r2s and the methods available
func (R2S) HasActiveConstraints ¶
HasActiveConstraints check if any of the constraints of the problem are seen as active
func (*R2S) Initialise ¶
Click to show internal directories.
Click to hide internal directories.