void function ( ) { display = new PoleBalanceDisplay ( trackLength , new double [ ] { poleLength1 , poleLength2 } , maxTimesteps ) ; display . setVisible ( true ) ; }
enable gui display of pole balancing concode_field_sep double ONE_DEGREE concode_elem_sep double THIRTYSIX_DEGREES concode_elem_sep String PENALIZE_OSCILLATIONS_KEY concode_elem_sep double TWELVE_DEGREES concode_elem_sep double DEFAULT_TRACK_LENGTH concode_elem_sep double TIME_DELTA concode_elem_sep String TIMESTEPS_KEY concode_elem_sep boolean startPoleAngleRandom concode_elem_sep String INPUT_VELOCITY_KEY concode_elem_sep String PENALIZE_FOR_ENERGY_USE_KEY concode_elem_sep double MUP concode_elem_sep Random rand concode_elem_sep String START_POLE_ANGLE_2_KEY concode_elem_sep int numTrials concode_elem_sep double trackLength concode_elem_sep String NUM_TRIALS_KEY concode_elem_sep double poleMass1 concode_elem_sep double poleLength2 concode_elem_sep double SIX_DEGREES concode_elem_sep double FOURTHIRDS concode_elem_sep String ANGLE_THRESHOLD_KEY concode_elem_sep String TRACK_LENGTH_KEY concode_elem_sep double trackLengthHalfed concode_elem_sep Logger logger concode_elem_sep ActivatorTranscriber factory concode_elem_sep boolean doInputVelocities concode_elem_sep double poleAngleThreshold concode_elem_sep boolean penalizeOscillations concode_elem_sep double MASSCART concode_elem_sep PoleBalanceDisplay display concode_elem_sep double TWENTYFOUR_DEGREES concode_elem_sep double SEVENTYTWO_DEGREES concode_elem_sep double FORCE_MAG concode_elem_sep double EIGHTEEN_DEGREES concode_elem_sep int DEFAULT_TIMESTEPS concode_elem_sep double startPoleAngle1 concode_elem_sep double FIFTY_DEGREES concode_elem_sep double poleLength1 concode_elem_sep String POLE_1_LENGTH_KEY concode_elem_sep String START_POLE_ANGLE_RANDOM_KEY concode_elem_sep double poleMass2 concode_elem_sep String POLE_2_LENGTH_KEY concode_elem_sep int DEFAULT_NUM_TRIALS concode_elem_sep String START_POLE_ANGLE_1_KEY concode_elem_sep int maxTimesteps concode_elem_sep boolean penalizeEnergyUse concode_elem_sep double GRAVITY concode_elem_sep double startPoleAngle2 concode_field_sep void init concode_elem_sep int singleTrial concode_elem_sep void performAction concode_elem_sep void step concode_elem_sep void rk4 concode_elem_sep int getMaxFitnessValue concode_elem_sep void evaluate concode_elem_sep void evaluate concode_elem_sep void setTrackLength concode_elem_sep double[] newState