Uses of Class
net.sf.tweety.math.term.Variable
-
Packages that use Variable Package Description net.sf.tweety.math.opt.problem net.sf.tweety.math.opt.rootFinder net.sf.tweety.math.opt.solver net.sf.tweety.math.term -
-
Uses of Variable in net.sf.tweety.math.opt.problem
Methods in net.sf.tweety.math.opt.problem that return types with arguments of type Variable Modifier and Type Method Description java.util.Set<Variable>
ConstraintSatisfactionProblem. getVariables()
Returns all variables of this problem.java.util.Set<Variable>
OptimizationProblem. getVariables()
-
Uses of Variable in net.sf.tweety.math.opt.rootFinder
Methods in net.sf.tweety.math.opt.rootFinder that return types with arguments of type Variable Modifier and Type Method Description java.util.Map<Variable,Term>
RootFinder. getStartingPoint()
Returns the starting point of this finder.java.util.Map<Variable,Term>
BfgsRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
java.util.Map<Variable,Term>
GradientDescentRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
java.util.Map<Variable,Term>
HessianGradientDescentRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
java.util.Map<Variable,Term>
NewtonRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
abstract java.util.Map<Variable,Term>
OptimizationRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
abstract java.util.Map<Variable,Term>
RootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
Determines the values for the variables appearing in the function such the function evaluates to zero.Method parameters in net.sf.tweety.math.opt.rootFinder with type arguments of type Variable Modifier and Type Method Description java.util.Map<Variable,Term>
BfgsRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
java.util.Map<Variable,Term>
GradientDescentRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
java.util.Map<Variable,Term>
HessianGradientDescentRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
java.util.Map<Variable,Term>
NewtonRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
abstract java.util.Map<Variable,Term>
OptimizationRootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
abstract java.util.Map<Variable,Term>
RootFinder. randomRoot(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
Determines the values for the variables appearing in the function such the function evaluates to zero.void
RootFinder. setStartingPoint(java.util.Map<Variable,Term> startingPoint)
sets the starting point of this root finder.Constructor parameters in net.sf.tweety.math.opt.rootFinder with type arguments of type Variable Constructor Description OptimizationRootFinder(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given (multi-dimensional) functionRootFinder(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)
Creates a new root finder for the given starting point and the given (multi-dimensional) function -
Uses of Variable in net.sf.tweety.math.opt.solver
Methods in net.sf.tweety.math.opt.solver that return types with arguments of type Variable Modifier and Type Method Description java.util.Map<Variable,Term>
SimulatedAnnealingOnConstrProb. chooseANeighbor(java.util.Map<Variable,Term> currSol, int minIterations, int maxIterations, double threshold)
java.util.Map<Variable,Term>
TabuSearchOnConstrProb. chooseANeighbor(java.util.Map<Variable,Term> currSol, int minIterations, int maxIterations, double threshold)
java.util.Map<Variable,Term>
ApacheCommonsCMAESOptimizer. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
ApacheCommonsCMAESOptimizer. solve(Term t, int optimization_type)
Returns the variable assignment that maximizes/minimizes the given term (which only contains variables with defined upper and lower bounds).java.util.Map<Variable,Term>
ApacheCommonsNonLinearConjugateGradientOptimizer. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
ApacheCommonsSimplex. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
BfgsSolver. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
GlpkSolver. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
GradientDescent. solve(ConstraintSatisfactionProblem constraintSatisfactionProblem)
java.util.Map<Variable,Term>
HessianGradientDescent. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
LagrangeSolver. solve(ConstraintSatisfactionProblem prob)
java.util.Map<Variable,Term>
LpSolve. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
OctaveSqpSolver. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
SimpleGeneticOptimizationSolver. solve(ConstraintSatisfactionProblem problem)
java.util.Map<Variable,Term>
SimpleGeneticOptimizationSolver. solve(Term t, int optimization_objective)
Returns the variable assignment that maximizes/minimizes the given term (which only contains variables with defined upper and lower bounds).java.util.Map<Variable,Term>
SimulatedAnnealingOnConstrProb. solve(ConstraintSatisfactionProblem problem)
abstract java.util.Map<Variable,Term>
Solver. solve(ConstraintSatisfactionProblem problem)
Computes a solution to the given constraint satisfaction or optimization problem, i.e.java.util.Map<Variable,Term>
TabuSearchOnConstrProb. solve(ConstraintSatisfactionProblem problem)
Method parameters in net.sf.tweety.math.opt.solver with type arguments of type Variable Modifier and Type Method Description java.util.Map<Variable,Term>
SimulatedAnnealingOnConstrProb. chooseANeighbor(java.util.Map<Variable,Term> currSol, int minIterations, int maxIterations, double threshold)
java.util.Map<Variable,Term>
TabuSearchOnConstrProb. chooseANeighbor(java.util.Map<Variable,Term> currSol, int minIterations, int maxIterations, double threshold)
Constructor parameters in net.sf.tweety.math.opt.solver with type arguments of type Variable Constructor Description BfgsSolver(java.util.Map<Variable,Term> startingPoint)
GradientDescent(java.util.Map<Variable,Term> startingPoint)
Creates a new gradient descent solverHessianGradientDescent(java.util.Map<Variable,Term> startingPoint)
LagrangeSolver(java.util.Map<Variable,Term> startingPoint)
Creates a new Lagrange solver for the given optimization problemLagrangeSolver(java.util.Set<java.util.Map<Variable,Term>> startingPoints)
Creates a new Lagrange solver for the given optimization problem -
Uses of Variable in net.sf.tweety.math.term
Subclasses of Variable in net.sf.tweety.math.term Modifier and Type Class Description class
BinaryVariable
This class models a binary variable as a mathematical term.class
FloatVariable
This class models an float variable as a mathematical term.class
IntegerVariable
This class models an integer variable as a mathematical term.Methods in net.sf.tweety.math.term that return types with arguments of type Variable Modifier and Type Method Description java.util.Set<Variable>
AssociativeOperation. getVariables()
java.util.Set<Variable>
Constant. getVariables()
java.util.Set<Variable>
Difference. getVariables()
java.util.Set<Variable>
Fraction. getVariables()
java.util.Set<Variable>
FunctionalTerm. getVariables()
abstract java.util.Set<Variable>
Term. getVariables()
Returns all variables in this term.java.util.Set<Variable>
Variable. getVariables()
Methods in net.sf.tweety.math.term with parameters of type Variable Modifier and Type Method Description Term
AbsoluteValue. derive(Variable v)
Term
Constant. derive(Variable v)
Term
Difference. derive(Variable v)
Term
Exp. derive(Variable v)
Term
Fraction. derive(Variable v)
Term
Logarithm. derive(Variable v)
Term
Maximum. derive(Variable v)
Term
Minimum. derive(Variable v)
Term
Power. derive(Variable v)
Term
Product. derive(Variable v)
Term
Root. derive(Variable v)
Term
Sum. derive(Variable v)
abstract Term
Term. derive(Variable v)
Differentiates the term with respect to the given variable.Term
Variable. derive(Variable v)
boolean
AbsoluteValue. isContinuous(Variable v)
boolean
Constant. isContinuous(Variable v)
boolean
Difference. isContinuous(Variable v)
boolean
Exp. isContinuous(Variable v)
boolean
Fraction. isContinuous(Variable v)
boolean
Logarithm. isContinuous(Variable v)
boolean
Maximum. isContinuous(Variable v)
boolean
Minimum. isContinuous(Variable v)
boolean
Power. isContinuous(Variable v)
boolean
Product. isContinuous(Variable v)
boolean
Root. isContinuous(Variable v)
boolean
Sum. isContinuous(Variable v)
abstract boolean
Term. isContinuous(Variable v)
Checks whether this term is continuous in v.boolean
Variable. isContinuous(Variable v)
Method parameters in net.sf.tweety.math.term with type arguments of type Variable Modifier and Type Method Description static java.util.List<java.lang.Double>
Term. evaluateVector(java.util.List<Term> functions, java.util.Map<Variable,? extends Term> mapping)
Evaluates each function in the given list with the given values for variables.Term
Term. replaceAllTerms(double[] values, java.util.List<Variable> variables)
Replaces terms according to the given map.
-