enum TTP::ThiefError

Defined in:

ttp-inst/ttp/ttp-sol-validation.cr

Enum Members

Repeated_cities = 1

Errores del recorrido

Cities_mismatch = 2
Invalid_cities = 4
Invalid_origin = 8
Items_mismatch = 16

Errores del plan de recolección

Exceeded_weight = 32
Invalid_items = 64
Fitness_mismatch = 128

Errores de fitness

None = 0
All = 255

Instance Method Summary

Instance Method Detail

def cities_mismatch? #

[View source]
def exceeded_weight? #

[View source]
def fitness_mismatch? #

[View source]
def invalid_cities? #

[View source]
def invalid_items? #

[View source]
def invalid_origin? #

[View source]
def items_mismatch? #

[View source]
def none? #

[View source]
def repeated_cities? #

[View source]