Contents:
Integer solution class implementation
Classes
IntegerSolution(data, size)
IntegerSolution
Integer solution class
macop.solutions.IntegerSolution.
data
{ndarray} – array of binary values
size
{int} – size of binary array values
score
{float} – fitness score value
random
Intialize integer array with use of validator to generate valid random solution
validator – {function} – specific function which validates or not a solution
{IntegerSolution} – new generated integer solution