Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Problems.ExternalEvaluation.GP/3.4/ExternalEvaluationGrammar.txt @ 12136

Last change on this file since 12136 was 5809, checked in by mkommend, 14 years ago

#1418: Reintegrated branch into trunk.

File size: 1.0 KB
Line 
1Node           = "(", Terminal | Function, ")" ;
2Function       = ArithmeticFunc | LogicalFunc, Node, { Node } ;
3ArithmeticFunc = "+" | "avg" | "cos" | "/" | "exp" | "ln" | "*" | "sin" | "-" | "tan" ;
4LogicalFunc    = "&&" | ">" | "if" | "<" | "!" | "||" ;
5Terminal       = Variable | Constant ;
6Variable       = ";", VariableName, Constant ;
7VariableName   = Alpha, { Alpha | Digit | "_" } ;
8Alpha          = "A" | "B" | "C" | "D" | "E" | "F" | "G"
9               | "H" | "I" | "J" | "K" | "L" | "M" | "N"
10               | "O" | "P" | "Q" | "R" | "S" | "T" | "U"
11               | "V" | "W" | "X" | "Y" | "Z" | "a" | "b"
12               | "c" | "d" | "e" | "f" | "g" | "h" | "i"
13               | "j" | "k" | "l" | "m" | "n" | "o" | "p"
14               | "q" | "r" | "s" | "t" | "u" | "v" | "w"
15               | "x" | "y" | "z" ;
16Digit          = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
17Constant       = ";", [ "-" ], Digit, { Digit }, [ ".", Digit, { Digit } ], "E", [ "+" | "-" ], Digit, { Digit } ;
Note: See TracBrowser for help on using the repository browser.