sampo.scheduler.native_wrapper#
Overview#
- |
- |
|
- |
Classes#
- class sampo.scheduler.native_wrapper.NativeWrapper(toolbox: deap.base.Toolbox, wg: sampo.schemas.graph.WorkGraph, contractors: list[sampo.schemas.contractor.Contractor], worker_name2index: dict[str, int], worker_pool_indices: dict[int, dict[int, sampo.schemas.resources.Worker]], parents: dict[int, set[int]], time_estimator: sampo.schemas.time_estimator.WorkTimeEstimator)#
- calculate_working_time(chromosome_ind: int, team_target: int, work: int) int#
- evaluate(chromosomes: list[sampo.scheduler.genetic.converter.ChromosomeType])#
- run_genetic(chromosomes: list[sampo.scheduler.genetic.converter.ChromosomeType], mutate_order, mate_order, mutate_resources, mate_resources, mutate_contractors, mate_contractors, selection_size)#
- close()#
Attributes#
- sampo.scheduler.native_wrapper.native = True#
- sampo.scheduler.native_wrapper.decodeEvaluationInfo#