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