public abstract class Constraint<T> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
size |
| Constructor and Description |
|---|
Constraint() |
| Modifier and Type | Method and Description |
|---|---|
abstract <K,V> K |
accept(ConstraintVisitor<K,V> v,
V arg) |
boolean |
equals(Object obj) |
abstract Comparator |
getComparator()
getComparator
|
Set<Object> |
getConstants() |
abstract Expression<?> |
getLeftOperand()
getLeftOperand
|
abstract Expression<?> |
getRightOperand()
getRightOperand
|
int |
getSize()
Getter for the field
size. |
Set<Variable<?>> |
getVariables() |
int |
hashCode() |
boolean |
isSolveable()
Sound but not complete
|
abstract Constraint<T> |
negate() |
protected static double |
normalize(double x)
Returns x/(x+1)
|
public abstract Comparator getComparator()
getComparator
T - a T object.Comparator object.public abstract Expression<?> getLeftOperand()
getLeftOperand
Expression object.public abstract Expression<?> getRightOperand()
getRightOperand
Expression object.public int getSize()
Getter for the field size.
public boolean isSolveable()
public abstract Constraint<T> negate()
protected static double normalize(double x)
x - public abstract <K,V> K accept(ConstraintVisitor<K,V> v, V arg)
Copyright © 2010–2017 EvoSuite. All rights reserved.