Var

abstract class Var(val symbol: String) extends Expression

Abstract variable, should be extended by any variable type in order to inherit the algebraic properties.

Value parameters:
symbol

the symbol of the variable

trait LazyLogging
class Object
trait Matchable
class Any
class MPVar
class MPIntVar

Value members

Concrete methods

override def *(other: Expression): Expression
Definition Classes
override def equals(obj: Any): Boolean
Value parameters:
obj

an object to compare

Returns:

true only in case the object is a variable and has identical index

Definition Classes
Expression -> Any
override def hashCode: Int
Returns:

the index of the variable

Definition Classes
Any
override def toString: String
Returns:

the symbol of the variable

Definition Classes
Expression -> Any
override def unary_-: Expression
Definition Classes

Inherited methods

def +(that: Expression): Expression
Inherited from:
Expression
def -(that: Expression): Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression
Inherited from:
Expression

Abstract fields

val index: Int
val lowerBound: Double
val upperBound: Double

Concrete fields

val symbol: String

Inherited fields

val constant: Double
Inherited from:
Expression
@transient
lazy protected val logger: Logger
Inherited from:
LazyLogging
Inherited from:
Expression