Ejemplo n.º 1
0
        public PreyExperiment(MultiAgentExperiment exp)
        {
            gridCollision = exp.gridCollision;

            substrateDescriptionFilename = exp.substrateDescriptionFilename;
            adaptableANN = exp.adaptableANN;
            modulatoryANN = exp.modulatoryANN;
            normalizeWeights = exp.normalizeWeights;
            headingNoise = exp.headingNoise;
            effectorNoise = exp.effectorNoise;
            sensorNoise = exp.sensorNoise;

            timesToRunEnvironments = exp.timesToRunEnvironments;
            evaluationTime = exp.evaluationTime;
            initialized = false;

            timestep = exp.timestep;
            explanatoryText = exp.explanatoryText;

            scriptFile = exp.scriptFile;

            robotModelName = exp.robotModelName;

            fitnessFunctionName = exp.fitnessFunctionName;
            behaviorCharacterizationName = exp.behaviorCharacterizationName;
            environmentName = exp.environmentName;

            bestGenomeSoFar = exp.bestGenomeSoFar;

            numberRobots = exp.numberRobots;

            homogeneousTeam = exp.homogeneousTeam;

            //  overrideDefaultSensorDensity = exp.overrideDefaultSensorDensity;
            rangefinderSensorDensity = exp.rangefinderSensorDensity;

            useScript = exp.useScript;

            running = exp.running;

            agentsVisible = exp.agentsVisible;
            agentsCollide = exp.agentsCollide;

            genome = exp.genome;

            multipleEnvironments = exp.multipleEnvironments;

            evolveSubstrate = exp.evolveSubstrate;

            elapsed = exp.elapsed;

            populationSize = exp.populationSize;

            overrideTeamFormation = exp.overrideTeamFormation;
            group_orientation = exp.group_orientation;
            group_spacing = exp.group_spacing;
            robot_heading = exp.robot_heading;

            multibrain = exp.multibrain;
            multiobjective = exp.multiobjective;
        }
 public AdversarialRoomClearingExperiment(MultiAgentExperiment exp)
     : base(exp)
 {
     // Debug:schrum2
     //Console.WriteLine("Init AdversarialRoomClearingExperiment With MultiAgentExperiment");
 }
 public AdversarialRoomClearingExperiment(MultiAgentExperiment exp)
     : base(exp)
 {
     // Debug:schrum2
     //Console.WriteLine("Init AdversarialRoomClearingExperiment With MultiAgentExperiment");
 }
Ejemplo n.º 4
0
 public FourTasksFitness(MultiAgentExperiment exp)
 {
     setExperiment(exp);
 }
Ejemplo n.º 5
0
 public void setExperiment(MultiAgentExperiment exp)
 {
     experiment = exp; // This mem reference is required for the fitness function to work
 }
        public RoomClearingExperiment(MultiAgentExperiment exp)
        {
            gridCollision = exp.gridCollision;

            substrateDescriptionFilename = exp.substrateDescriptionFilename;
            adaptableANN     = exp.adaptableANN;
            modulatoryANN    = exp.modulatoryANN;
            normalizeWeights = exp.normalizeWeights;
            headingNoise     = exp.headingNoise;
            effectorNoise    = exp.effectorNoise;
            sensorNoise      = exp.sensorNoise;

            timesToRunEnvironments = exp.timesToRunEnvironments;
            evaluationTime         = exp.evaluationTime;
            initialized            = false;

            timestep        = exp.timestep;
            explanatoryText = exp.explanatoryText;

            scriptFile = exp.scriptFile;

            robotModelName = exp.robotModelName;

            fitnessFunctionName          = exp.fitnessFunctionName;
            behaviorCharacterizationName = exp.behaviorCharacterizationName;
            environmentName = exp.environmentName;


            bestGenomeSoFar = exp.bestGenomeSoFar;

            numberRobots = exp.numberRobots;

            homogeneousTeam = exp.homogeneousTeam;

            //  overrideDefaultSensorDensity = exp.overrideDefaultSensorDensity;
            rangefinderSensorDensity = exp.rangefinderSensorDensity;

            useScript = exp.useScript;

            running = exp.running;

            agentsVisible = exp.agentsVisible;
            agentsCollide = exp.agentsCollide;

            genome = exp.genome;

            multipleEnvironments = exp.multipleEnvironments;

            evolveSubstrate = exp.evolveSubstrate;

            elapsed = exp.elapsed;

            populationSize = exp.populationSize;

            overrideTeamFormation = exp.overrideTeamFormation;
            group_orientation     = exp.group_orientation;
            group_spacing         = exp.group_spacing;
            robot_heading         = exp.robot_heading;

            multibrain     = exp.multibrain;
            multiobjective = exp.multiobjective;
        }