Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataAnalysis Refactoring/HeuristicLab.Problems.ExternalEvaluation.GP/3.4/ExternalEvaluationGrammar.txt @ 5806

Last change on this file since 5806 was 5750, checked in by gkronber, 13 years ago

#1418 Implemented variable view that allows to add and remove variable strings (ported from external evaluation views). Implemented formatter and grammar for external evaluation plugin. Fixed bug in symbolic expression view. Fixed bug in run collection variable impact view. Removed unused plugin HeuristicLab.Problems.ExternalEvaluation.GP.Views. Renamed files.

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.