Package com.artelys.kalis
Class KBinTerm
- java.lang.Object
-
- com.artelys.kalis.KTerm
-
- com.artelys.kalis.KBinTerm
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KTerm
swigCMemOwn
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
protected static long
getCPtr(KBinTerm obj)
boolean
getSign1()
return true if the sign of the first variable is positiveboolean
getSign2()
return true if the sign of the second variable is positiveKNumVar
getV1()
return a pointer to the first variableKNumVar
getV2()
return a pointer to the second variablevoid
print()
pretty print methodvoid
print(com.artelys.kalis.SWIGTYPE_p_std__ostream fout)
pretty print methodvoid
print(com.artelys.kalis.SWIGTYPE_p_void ctx, com.artelys.kalis.SWIGTYPE_p_f_p_void_p_q_const__char__int pfp)
-
-
-
Constructor Detail
-
KBinTerm
protected KBinTerm(long cPtr, boolean cMemoryOwn)
-
KBinTerm
public KBinTerm()
Default Constructor
-
KBinTerm
public KBinTerm(KNumVar v1, boolean sign1, KNumVar v2, boolean sign2, double cste)
Primary constructor- Parameters:
v1
- the first variablesign1
- sign of v1v2
- the second variablesign2
- sign of v2cste
- the constant
-
KBinTerm
public KBinTerm(KBinTerm binTermToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KBinTerm obj)
-
getSign1
public boolean getSign1()
return true if the sign of the first variable is positive
-
getSign2
public boolean getSign2()
return true if the sign of the second variable is positive
-
getV1
public KNumVar getV1()
return a pointer to the first variable
-
getV2
public KNumVar getV2()
return a pointer to the second variable
-
print
public void print(com.artelys.kalis.SWIGTYPE_p_std__ostream fout)
pretty print method
-
print
public void print()
Description copied from class:KTerm
pretty print method
-
-