⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 options.doc

📁 神经网络和遗传算法组合应用
💻 DOC
字号:
optann - a Khepera simulator by Johan Carlsson (c)2000Description:This file explains what options in the options file that are valid and what they do. General:Comments can be added in the option file. All commentsshould start with an '#', all text after the '#' willbe ignored during parsing. All options have the followingsyntax OPTION_NAME followed by parameters.Options: (in alphabetic order)     BACK_INFRARED--------------------------------Description:Specifies if you want to use the rear infrared approximatesensors.Parameters:2 = both, 0 = noneBAUD_RATE--------------------------------Description:Communication speed for direct connection to Kheperarobot.Parameters:9600, 19200 or 38400BIG_CAMERA--------------------------------Description:Camerafile to be used for large obstaclesParameters:filenameBIT_MUTATION--------------------------------Description:The chance that a bit mutates during mutattionParameters:0 - 100CAMERA_PATH--------------------------------Description:Directory where the camerafiles are storedParameters:a directory pathCOMPASS_SENSOR--------------------------------Description:Specifies if you want to use the compass sensoror not.Parameters:0 = no, 1 = yesEPOCHS--------------------------------Description:The number epochs (runs) which each individare tested.Parameters:1 - MAX_INTFITNESS_FILE--------------------------------Description:File where the individs fitness for each generationwill be stored.Parameters:filenameFITNESS_FUNCTION--------------------------------Description:Which fitness function to use, (used in sim.c)Parameters:a numberFRONT_INFRARED--------------------------------Description:How many front approximal sensors to useParameters:2, 4 or 6GENERATIONS--------------------------------Description:The number of generations the simulation will berunned.Parameters:a integer larger than startgenerationGRIPPER--------------------------------Description:Specifies if your robots should be equipped withthe gripper turret.Parameters:1 = yes, 0 = noGRIPPER_NO_NOISE--------------------------------Description:Specifies if you want add noise to the grippersensor,problary not since the real gripper sensor just returns0 or 1024. This is for compability with Nolfis simulator.Parameters:1 = yes, 0 = noGRIPPER_SENSOR--------------------------------Description:Specifies if you want to use the gripper sensorParameters:1 = yes, 0 = noGROUND_SENSOR--------------------------------Description:Specifies if you want to use the groundsensor. Thegroundsensor is a simulator invention and does notexist in real khepera robots. The sensor detects if the robot is in a zone area and returns a uniqeid for each zone.Parameters:1 = yes, 0 = noINDIVIDS--------------------------------Description:The number of individs to use in the simulation.Parameters:any number larger that 1LIGHT_CAMERA--------------------------------Description:Specifies which camerafile to use for the lightbulbsParameters:a file nameLIGHTBULB_SENSORS--------------------------------Description:Specifies if you want to activate the lightbulbsensorson the robot.Parameters:1 = yes, 0 = noLOG_PATH--------------------------------Description:The directory where all logs should be storedParameters:a directoryMOTOR_CAMERA--------------------------------Description:Specifies the camerafile to be used forthe khepera motor (the movement vectorsfor different motoractivations)Parameters:filenameMOVE_OBSTACLES--------------------------------Description:if activated small round obstacles willbe replaced after each epoch. That is they will change cordinates.Parameters:1  = yes, 0 = noNOISE_PERCENTAGE--------------------------------Description:Amount of noise that should be added tosensor if so requested (by SENSOR_NOISE)Parameters:0 - 100NR_OF_INDIVIDS_TO_LOG--------------------------------Description:Picks how many of the best individ (those with the highest fitness) that shouldbe logged in the fitness file.Parameters:a numberNR_OF_STEPS--------------------------------Description:The number of time steps each epoch shouldbe runned.Parameters:a integerOFFSPRINGS--------------------------------Description:How many copys that will be made of a potentialparent individ. OFFSPRINGS * PARENTS = NROFINDIVIDSParameters:a integerPARENTS--------------------------------Description:The number of parents that will create thenew generation. OFFSPRINGS * PARENTS = NROFINDIVIDSParameters:a integerPICTURE_ROBOT--------------------------------Description:The xpm file that should be used as the robot ifthe simulator is compiled with xpm support.Parameters:a filenamePICTURE_WORLD--------------------------------Description:The xpm file that should be used as the worldbackground if the simulator is compiler withxpm support.Parameters:a filenameRUN_REAL--------------------------------Description:Toggles if the robot should be runnedin the real environment over a serialline.No evolution occurs during RUN_REALParameters:1 = yes, 0 = noSAVE_WEIGHTS_EVERY_x_GENERATION--------------------------------Description:Specifies how often the individs weightshould be saved. generation mod X, whereX is the number specified.Parameters:integer (X)SCALE--------------------------------Description:The scale factor that the environment windowshould have.Parameters:a real valueSELECTION_METHOD--------------------------------Description:Specifies which selection mechanism that will be used.Parameters:0 : Elite selection, chooses the PARENTS best individ1 : Tournament selectionSENSOR_NOISE--------------------------------Description:Specifies if sensor noise should be added to theapproximal infrared sensors.Parameters:1 = yes, 0 = noSERIAL_LINE--------------------------------Description:Device that should be opened as the serial line.In linux it might be /dev/ttyS0 or /dev/ttyS1for com1 respectively com2Parameters:a device nameSMALL_CAMERA--------------------------------Description:The camera file to be used for small round osbtacles(moveable).Parameters:a file nameSTART_GENERATION--------------------------------Description:The generation that the evolution should start at.If the value is bigger than zero weightsfile will be loaded.Parameters:-1 = start from scratch, x > 0 = load weights from generation xTEST_SAME_START_POSITION--------------------------------Description:Specifies if all indivds should start at the same position.Good if you want to compare individs.Parameters:1 = yes, 0 = noUPDATE_DELAY--------------------------------Description:Used as the delay when updating the graphics, if the graphics runsslow test to lower this delay.Parameters:a integer VERBOSE_LEVEL--------------------------------Description:This variable is global in the simulator and areused to specify how much text output the simulatorshould produceParameters:0, 1, 2 ... MAX_INTWALL_CAMERA--------------------------------Description:The camera file to be used for wallsParameters:a file nameWEIGHT_FILE--------------------------------Description:Prefix for the weightsfile. The weightsfile takes the form[prefix]generation_number.wtsParameters:a stringWORLD_FILE--------------------------------Description:The worldfile to be used for the simulationParameters:a filenameWORLD_PATH--------------------------------Description:The path to the worldfiles.Parameters:a directory path

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -