| Modifier and Type | Field and Description |
|---|---|
static String |
ADD |
protected String |
expression |
protected double |
leftCoefficient |
protected String |
leftTerm |
static org.slf4j.Logger |
logger |
static String |
MAX |
static String |
MIN |
static String |
MULT |
protected String |
operator |
protected double |
rightCoefficient |
protected String |
rightTerm |
| Modifier and Type | Method and Description |
|---|---|
double |
getLeftCoefficient() |
String |
getLeftTerm() |
String |
getOperator() |
double |
getRightCoefficient() |
String |
getRightTerm() |
void |
getTerms()
Splits the expression into two terms
|
double |
getThreshold() |
double |
getThreshold1() |
double |
getThreshold2() |
boolean |
isAtomic()
Tests whether an expression is atomic or not
|
void |
setThreshold(double threshold) |
void |
setThreshold1(double threshold1) |
void |
setThreshold2(double threshold2) |
public static final org.slf4j.Logger logger
public static final String MULT
public static final String ADD
public static final String MAX
public static final String MIN
protected double leftCoefficient
protected double rightCoefficient
protected String leftTerm
protected String rightTerm
protected String operator
protected String expression
public Parser(String input, double theta)
public boolean isAtomic()
public String getLeftTerm()
public String getOperator()
public String getRightTerm()
public double getLeftCoefficient()
public double getRightCoefficient()
public void getTerms()
public double getThreshold2()
public void setThreshold2(double threshold2)
threshold2 - public double getThreshold1()
public void setThreshold1(double threshold1)
public double getThreshold()
public void setThreshold(double threshold)
Copyright © 2018. All rights reserved.