New Installer for Dawinbots 2 Released.
Basic query structure: varaiblename= value ,variablename= value , ...You can search based on only one variable. example: name="test.txt" This will search for all robots named test.txt.The 'name' variable supports special characters: * means zero or more characters ? means Any single character # Any single digit (0-9) [charlist] Any single character in charlist. example: name="[a-c]" This will search for a one character robot named a or b or c. [!charlist] Any single character not in charlist. To match special characters enclose them in brackets. example: name="[[]" This will match the [ bracket. A hyphen (-) can appear either at the beginning (after an exclamation point if one is used) or at the end of charlist to match itself. You can either search for the other variables directly or using the 'to' keyword. example: fitness= 16 This will find all robots that have 16 as there fitness. fitness= 4 to 16 This will find all robots that have from 4 ro 16 as there fitness.The following operators are supported: add sub mult div powPlease use reverse polish notation. example: energy= 2 3 add 2 mult to 2 4 pow This will search for robots between 10 and 16 energy.The following bulit in keywords are supported: min, max, absmin, absmaxUse absmin and absmax to figure out the absolute minimum and absolute maximumof a given variable name even if the search was narowed by a previuse call. example: Lets say we have three robots with the following: fitness=2 energy= 1 fitness=2 energy= 2 fitness=4 energy= 3 If we call: fitness=2, energy= absmin to absmax Then the absmin in this case is 1 and the absmax in this case is 3. Use min and max simply to figure out minimum and maximum of the remainingrobots in a query. example: Using the example above if we call: fitness=2, energy= min to max Then the min in this case is 1 and the max in this case is 2.Note: absmin and absmax are calculated as min and max after a name query.A name variable (if used) must always be the first variable in a query. example: Lets say we have three robots with the following: name="test1" energy= 1 name="test1" energy= 2 name="test2" energy= 3 In this example, if we restrict the search to name="test1" then our energy absmin is 1 and our absmax is 2. If you search for all robots (name="*") you do not need to specify the name query at all and absmin and absmax works across all robots.Finally, you can use keywords in combination with operators. example: energy= absmin absmax absmin sub 2 div add to absmax This will search the upper 50% of robots' energy.