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 | |
---|
1 | Node = "(", Terminal | Function, ")" ;
|
---|
2 | Function = ArithmeticFunc | LogicalFunc, Node, { Node } ;
|
---|
3 | ArithmeticFunc = "+" | "avg" | "cos" | "/" | "exp" | "ln" | "*" | "sin" | "-" | "tan" ;
|
---|
4 | LogicalFunc = "&&" | ">" | "if" | "<" | "!" | "||" ;
|
---|
5 | Terminal = Variable | Constant ;
|
---|
6 | Variable = ";", VariableName, Constant ;
|
---|
7 | VariableName = Alpha, { Alpha | Digit | "_" } ;
|
---|
8 | Alpha = "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" ;
|
---|
16 | Digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
|
---|
17 | Constant = ";", [ "-" ], Digit, { Digit }, [ ".", Digit, { Digit } ], "E", [ "+" | "-" ], Digit, { Digit } ; |
---|
Note: See
TracBrowser
for help on using the repository browser.