Пример #1
0
        protected override ISolverBundle Solver(SlotClusterFixed <ConstrainedSlot, CylinderBrain> cluster)
        {
            typedSolver             = new SimpleSolver <ConstrainedSlot, ConstrainedSlotInfos, CylinderBrain>();
            typedSolver.slotCluster = cluster;
            solver = typedSolver;

            return(solver);
        }
        protected override ISolverBundle Solver(SlotClusterFixed <ConstrainedSlot, ClusterBrain> cluster)
        {
            LowestAntropySolver <ConstrainedSlot, ConstrainedSlotInfos, ClusterBrain> solver =
                new LowestAntropySolver <ConstrainedSlot, ConstrainedSlotInfos, ClusterBrain>();

            solver.slotCluster = cluster;

            return(solver);
        }