Uses of Class
net.sf.tweety.math.term.Term
- 
 - 
- 
Uses of Term in net.sf.tweety.arg.prob.dynamics
Method parameters in net.sf.tweety.arg.prob.dynamics with type arguments of type Term Modifier and Type Method Description protected voidAbstractPAChangeOperator. prepareOptimizationProblem(PartialProbabilityAssignment ppa, DungTheory theory, OptimizationProblem problem, java.util.Map<java.util.Collection<Argument>,FloatVariable> varsComp, java.util.Map<java.util.Collection<Argument>,FloatVariable> varsSem, java.util.Vector<Term> varsCompVector, java.util.Vector<Term> varsSemVector) - 
Uses of Term in net.sf.tweety.arg.prob.semantics
Methods in net.sf.tweety.arg.prob.semantics that return Term Modifier and Type Method Description protected TermAbstractPASemantics. probabilityTerm(Argument arg, java.util.Map<java.util.Collection<Argument>,FloatVariable> worlds2vars)Constructs the term expressing the probability of the given argument wrt. - 
Uses of Term in net.sf.tweety.logics.pl.analysis
Methods in net.sf.tweety.logics.pl.analysis that return Term Modifier and Type Method Description private TermFuzzyInconsistencyMeasure. getTerm(PlFormula formula, java.util.Map<Proposition,Variable> assignments)Returns a mathematical term representation of the given formula by replacing proposition by their given mathematical variables and replacing conjunction, disjunction, and negation by their fuzzy counterparts (taking the given t-norm and t-conorm into account).Methods in net.sf.tweety.logics.pl.analysis that return types with arguments of type Term Modifier and Type Method Description private Pair<java.util.Map<Variable,Term>,java.lang.Double>FuzzyInconsistencyMeasure. constructAndSolveProblem(java.util.Collection<PlFormula> formulas, java.util.Map<Proposition,Variable> assignments)Utility method - 
Uses of Term in net.sf.tweety.logics.rpcl.semantics
Methods in net.sf.tweety.logics.rpcl.semantics that return Term Modifier and Type Method Description protected TermAbstractRpclSemantics. probabilityTerm(FolFormula f, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)Constructs the term expressing the probability of the given formula "f" wrt. - 
Uses of Term in net.sf.tweety.math.equation
Fields in net.sf.tweety.math.equation declared as Term Modifier and Type Field Description private TermStatement. leftTermThe left term of this statement.private TermStatement. rightTermThe right term of this statement.Methods in net.sf.tweety.math.equation that return Term Modifier and Type Method Description TermStatement. getLeftTerm()Returns the left term of this statement.TermStatement. getRightTerm()Returns the right term of this statement.Methods in net.sf.tweety.math.equation with parameters of type Term Modifier and Type Method Description StatementEquation. replaceTerm(Term toSubstitute, Term substitution)StatementInequation. replaceTerm(Term toSubstitute, Term substitution)abstract StatementStatement. replaceTerm(Term toSubstitute, Term substitution)Replaces each occurrence of "toSubstitute" by "substitution" and return the new statement.voidStatement. setLeftTerm(Term t)Sets the left term of this statement.voidStatement. setRightTerm(Term t)Sets the right term of this statement.Method parameters in net.sf.tweety.math.equation with type arguments of type Term Modifier and Type Method Description StatementStatement. replaceAllTerms(java.util.Map<? extends Term,? extends Term> substitutes)Replaces terms according to the given map.StatementStatement. replaceAllTerms(java.util.Map<? extends Term,? extends Term> substitutes)Replaces terms according to the given map.Constructors in net.sf.tweety.math.equation with parameters of type Term Constructor Description Equation(Term leftTerm, Term rightTerm)Creates a new equation with the given terms.Inequation(Term leftTerm, Term rightTerm, int type)Creates a new inequation of the given type with the two terms.Statement(Term leftTerm, Term rightTerm)Creates a new statement with the given terms. - 
Uses of Term in net.sf.tweety.math.func
 - 
Uses of Term in net.sf.tweety.math.func.fuzzy
Methods in net.sf.tweety.math.func.fuzzy that return Term Modifier and Type Method Description TermBoundedSum. evalTerm(Term val1, Term val2)TermLukasiewiczNorm. evalTerm(Term val1, Term val2)TermMaximumCoNorm. evalTerm(Term val1, Term val2)TermMinimumNorm. evalTerm(Term val1, Term val2)TermProbabilisticSum. evalTerm(Term val1, Term val2)TermProductNorm. evalTerm(Term val1, Term val2)TermTCoNorm. evalTerm(java.util.Collection<Term> vals)Gives a representation of this conorm as a mathematical term.abstract TermTCoNorm. evalTerm(Term val1, Term val2)Gives a representation of this conorm as a mathematical termTermTNorm. evalTerm(java.util.Collection<Term> vals)Gives a representation of this norm as a mathematical term.abstract TermTNorm. evalTerm(Term val1, Term val2)Gives a representation of this norm as a mathematical termMethods in net.sf.tweety.math.func.fuzzy with parameters of type Term Modifier and Type Method Description TermBoundedSum. evalTerm(Term val1, Term val2)TermLukasiewiczNorm. evalTerm(Term val1, Term val2)TermMaximumCoNorm. evalTerm(Term val1, Term val2)TermMinimumNorm. evalTerm(Term val1, Term val2)TermProbabilisticSum. evalTerm(Term val1, Term val2)TermProductNorm. evalTerm(Term val1, Term val2)abstract TermTCoNorm. evalTerm(Term val1, Term val2)Gives a representation of this conorm as a mathematical termabstract TermTNorm. evalTerm(Term val1, Term val2)Gives a representation of this norm as a mathematical termMethod parameters in net.sf.tweety.math.func.fuzzy with type arguments of type Term Modifier and Type Method Description TermTCoNorm. evalTerm(java.util.Collection<Term> vals)Gives a representation of this conorm as a mathematical term.TermTNorm. evalTerm(java.util.Collection<Term> vals)Gives a representation of this norm as a mathematical term. - 
Uses of Term in net.sf.tweety.math.matrix
Fields in net.sf.tweety.math.matrix declared as Term Modifier and Type Field Description private Term[][]Matrix. entriesThe entries of the matrixMethods in net.sf.tweety.math.matrix that return Term Modifier and Type Method Description TermMatrix. getEntry(int x, int y)Returns the entry with the given coordinates. - 
Uses of Term in net.sf.tweety.math.norm
Methods in net.sf.tweety.math.norm that return Term Modifier and Type Method Description abstract TermAbstractRealVectorNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermAbstractRealVectorNorm. distanceTerm(Term[] obj1, Term[] obj2)TermAggregatingNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermAggregatingNorm. distanceTerm(Term[] obj1, Term[] obj2)TermEntropyNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermEntropyNorm. distanceTerm(Term[] obj1, Term[] obj2)TermManhattanNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermMaximumNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermPNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermProbabilisticAggregatingNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermProbabilisticAggregatingNorm. distanceTerm(Term[] obj1, Term[] obj2)TermProbabilisticPNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermProbabilisticPNorm. distanceTerm(Term[] obj1, Term[] obj2)TermRealVectorNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)The distance between the two objects as a term.TermRealVectorNorm. distanceTerm(Term[] obj1, Term[] obj2)The distance between the two objects as a term.abstract TermAbstractRealVectorNorm. normTerm(java.util.Vector<Term> obj)TermAbstractRealVectorNorm. normTerm(Term[] obj)TermAggregatingNorm. normTerm(java.util.Vector<Term> obj)TermAggregatingNorm. normTerm(Term[] obj)TermEntropyNorm. normTerm(java.util.Vector<Term> obj)TermEntropyNorm. normTerm(Term[] obj)TermManhattanNorm. normTerm(java.util.Vector<Term> obj)TermMaximumNorm. normTerm(java.util.Vector<Term> obj)TermPNorm. normTerm(java.util.Vector<Term> obj)TermProbabilisticAggregatingNorm. normTerm(java.util.Vector<Term> obj)TermProbabilisticAggregatingNorm. normTerm(Term[] obj)TermProbabilisticPNorm. normTerm(java.util.Vector<Term> obj)TermProbabilisticPNorm. normTerm(Term[] obj)TermRealVectorNorm. normTerm(java.util.Vector<Term> obj)Returns the norm as a term of the given termsTermRealVectorNorm. normTerm(Term[] obj)Returns the norm as a term of the given termsMethods in net.sf.tweety.math.norm with parameters of type Term Modifier and Type Method Description TermAbstractRealVectorNorm. distanceTerm(Term[] obj1, Term[] obj2)TermAggregatingNorm. distanceTerm(Term[] obj1, Term[] obj2)TermEntropyNorm. distanceTerm(Term[] obj1, Term[] obj2)TermProbabilisticAggregatingNorm. distanceTerm(Term[] obj1, Term[] obj2)TermProbabilisticPNorm. distanceTerm(Term[] obj1, Term[] obj2)TermRealVectorNorm. distanceTerm(Term[] obj1, Term[] obj2)The distance between the two objects as a term.TermAbstractRealVectorNorm. normTerm(Term[] obj)TermAggregatingNorm. normTerm(Term[] obj)TermEntropyNorm. normTerm(Term[] obj)TermProbabilisticAggregatingNorm. normTerm(Term[] obj)TermProbabilisticPNorm. normTerm(Term[] obj)TermRealVectorNorm. normTerm(Term[] obj)Returns the norm as a term of the given termsMethod parameters in net.sf.tweety.math.norm with type arguments of type Term Modifier and Type Method Description abstract TermAbstractRealVectorNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermAggregatingNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermEntropyNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermManhattanNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermMaximumNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermPNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermProbabilisticAggregatingNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermProbabilisticPNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)TermRealVectorNorm. distanceTerm(java.util.Vector<Term> obj1, java.util.Vector<Term> obj2)The distance between the two objects as a term.abstract TermAbstractRealVectorNorm. normTerm(java.util.Vector<Term> obj)TermAggregatingNorm. normTerm(java.util.Vector<Term> obj)TermEntropyNorm. normTerm(java.util.Vector<Term> obj)TermManhattanNorm. normTerm(java.util.Vector<Term> obj)TermMaximumNorm. normTerm(java.util.Vector<Term> obj)TermPNorm. normTerm(java.util.Vector<Term> obj)TermProbabilisticAggregatingNorm. normTerm(java.util.Vector<Term> obj)TermProbabilisticPNorm. normTerm(java.util.Vector<Term> obj)TermRealVectorNorm. normTerm(java.util.Vector<Term> obj)Returns the norm as a term of the given terms - 
Uses of Term in net.sf.tweety.math.opt
Fields in net.sf.tweety.math.opt declared as Term Modifier and Type Field Description private TermOptimizationProblem. targetFunctionThe target function of this problem.Fields in net.sf.tweety.math.opt with type parameters of type Term Modifier and Type Field Description private java.util.List<Term>RootFinder. functionsThe (multi-dimensional) function of this root finder.private java.util.List<java.util.List<Term>>NewtonRootFinder. jacobianThe jacobian of the function.private java.util.Map<Variable,Term>RootFinder. startingPointThe starting point of this root finder.Methods in net.sf.tweety.math.opt that return Term Modifier and Type Method Description TermOptimizationProblem. getTargetFunction()Returns the target function of this problem.Methods in net.sf.tweety.math.opt that return types with arguments of type Term Modifier and Type Method Description java.util.List<Term>RootFinder. getFunctions()Returns the function of this root finder.java.util.Map<Variable,Term>RootFinder. getStartingPoint()Returns the starting point of this finder.private java.util.Map<Variable,Term>NewtonRootFinder. midpoint(java.util.Map<Variable,Term> m1, java.util.Map<Variable,Term> m2)Computes the midpoint of the two mapsjava.util.Map<Variable,Term>BfgsRootFinder. randomRoot()java.util.Map<Variable,Term>GradientDescentRootFinder. randomRoot()java.util.Map<Variable,Term>HessianGradientDescentRootFinder. randomRoot()java.util.Map<Variable,Term>LbfgsRootFinder. randomRoot()java.util.Map<Variable,Term>NewtonRootFinder. randomRoot()java.util.Map<Variable,Term>OpenOptRootFinder. randomRoot()abstract java.util.Map<Variable,Term>OptimizationRootFinder. randomRoot()abstract java.util.Map<Variable,Term>RootFinder. randomRoot()Determines the values for the variables appearing in the function such the function evaluates to zero.abstract java.util.Map<Variable,Term>Solver. solve(ConstraintSatisfactionProblem problem)Computes a solution to the given constraint satisfaction or optimization problem, i.e.Methods in net.sf.tweety.math.opt with parameters of type Term Modifier and Type Method Description voidOptimizationProblem. setTargetFunction(Term targetFunction)Sets the target function of this problem.Method parameters in net.sf.tweety.math.opt with type arguments of type Term Modifier and Type Method Description private java.util.List<java.util.List<java.lang.Double>>NewtonRootFinder. evaluateMatrix(java.util.List<java.util.List<Term>> functions, java.util.Map<Variable,? extends Term> mapping)Evaluates each function in the given matrix with the given values for variables.private java.util.List<java.util.List<java.lang.Double>>NewtonRootFinder. evaluateMatrix(java.util.List<java.util.List<Term>> functions, java.util.Map<Variable,? extends Term> mapping)Evaluates each function in the given matrix with the given values for variables.private java.util.Map<Variable,Term>NewtonRootFinder. midpoint(java.util.Map<Variable,Term> m1, java.util.Map<Variable,Term> m2)Computes the midpoint of the two mapsvoidRootFinder. setStartingPoint(java.util.Map<Variable,Term> startingPoint)sets the starting point of this root finder.Constructors in net.sf.tweety.math.opt with parameters of type Term Constructor Description BfgsRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionGradientDescentRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionHessianGradientDescentRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionLbfgsRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionNewtonRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new Newton root finder for the given starting point and the given functionOpenOptRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionOptimizationRootFinder(Term function)Creates a new root finder for the given function.OptimizationRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionRootFinder(Term function)Creates a new root finder for the given function.RootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionConstructor parameters in net.sf.tweety.math.opt with type arguments of type Term Constructor Description BfgsRootFinder(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) functionBfgsRootFinder(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) functionBfgsRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionGradientDescentRootFinder(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) functionGradientDescentRootFinder(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) functionGradientDescentRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionHessianGradientDescentRootFinder(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) functionHessianGradientDescentRootFinder(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) functionHessianGradientDescentRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionLbfgsRootFinder(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) functionLbfgsRootFinder(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) functionLbfgsRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionNewtonRootFinder(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)Creates a new Newton root finder for the given starting point and the given (multi-dimensional) functionNewtonRootFinder(java.util.List<Term> functions, java.util.Map<Variable,Term> startingPoint)Creates a new Newton root finder for the given starting point and the given (multi-dimensional) functionNewtonRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new Newton root finder for the given starting point and the given functionOpenOptRootFinder(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) functionOpenOptRootFinder(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) functionOpenOptRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given functionOptimizationRootFinder(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) functionOptimizationRootFinder(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) functionOptimizationRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given 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) 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) functionRootFinder(Term function, java.util.Map<Variable,Term> startingPoint)Creates a new root finder for the given starting point and the given function - 
Uses of Term in net.sf.tweety.math.opt.solver
Fields in net.sf.tweety.math.opt.solver declared as Term Modifier and Type Field Description private TermSimpleGeneticOptimizationSolver.FitnessComparator. minTFields in net.sf.tweety.math.opt.solver with type parameters of type Term Modifier and Type Field Description private java.util.Map<Variable,Term>BfgsSolver. startingPointThe starting point for the solver.private java.util.Map<Variable,Term>GradientDescent. startingPointThe starting point for the solver.private java.util.Map<Variable,Term>HessianGradientDescent. startingPointThe starting point for the solver.private java.util.Map<Variable,Term>LbfgsSolver. startingPointThe starting point for the solver.private java.util.Map<Variable,Term>OpenOptSolver. startingPointA starting point for the optimization.private java.util.Set<java.util.Map<Variable,Term>>LagrangeSolver. startingPointsThe starting points for finding the optimum.Methods in net.sf.tweety.math.opt.solver that return types with arguments of type Term Modifier and Type Method Description private java.util.Map<FloatVariable,Term>SimpleGeneticOptimizationSolver. crossover(java.util.Map<FloatVariable,Term> ind1, java.util.Map<FloatVariable,Term> ind2)Makes a crossover of the two individualsprivate java.util.Map<FloatVariable,Term>SimpleGeneticOptimizationSolver. mutate(java.util.Map<FloatVariable,Term> ind)Mutates the given individualprotected java.util.Map<Variable,Term>OpenOptSolver. parseOutput(java.lang.String output)This method parses the output data of an OpenOpt runjava.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 problem)java.util.Map<Variable,Term>HessianGradientDescent. solve(ConstraintSatisfactionProblem problem)java.util.Map<Variable,Term>LagrangeSolver. solve(ConstraintSatisfactionProblem prob)java.util.Map<Variable,Term>LbfgsSolver. solve(ConstraintSatisfactionProblem problem)java.util.Map<Variable,Term>LpSolve. solve(ConstraintSatisfactionProblem problem)java.util.Map<Variable,Term>OctaveSqpSolver. solve(ConstraintSatisfactionProblem problem)java.util.Map<Variable,Term>OpenOptSolver. solve(ConstraintSatisfactionProblem problem)java.util.Map<Variable,Term>OpenOptWebSolver. 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).Methods in net.sf.tweety.math.opt.solver with parameters of type Term Modifier and Type Method Description 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>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).Method parameters in net.sf.tweety.math.opt.solver with type arguments of type Term Modifier and Type Method Description private double[]HessianGradientDescent. bestGuess(double[] currentGuess, double[] dir, java.util.List<Term> gradient, java.util.List<Variable> variables)Find the best guess.intSimpleGeneticOptimizationSolver.FitnessComparator. compare(java.util.Map<FloatVariable,Term> arg0, java.util.Map<FloatVariable,Term> arg1)private java.util.Map<FloatVariable,Term>SimpleGeneticOptimizationSolver. crossover(java.util.Map<FloatVariable,Term> ind1, java.util.Map<FloatVariable,Term> ind2)Makes a crossover of the two individualsprivate java.util.Map<FloatVariable,Term>SimpleGeneticOptimizationSolver. mutate(java.util.Map<FloatVariable,Term> ind)Mutates the given individualConstructors in net.sf.tweety.math.opt.solver with parameters of type Term Constructor Description FitnessComparator(Term t)Constructor parameters in net.sf.tweety.math.opt.solver with type arguments of type Term 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 problemLbfgsSolver(java.util.Map<Variable,Term> startingPoint)OpenOptSolver(java.util.Map<Variable,Term> startingPoint)Creates a new solver for the given problem. - 
Uses of Term in net.sf.tweety.math.term
Subclasses of Term in net.sf.tweety.math.term Modifier and Type Class Description classAbsoluteValueThis class models the absolute value of the inner term.classAssociativeOperationclassBinaryVariableThis class models a binary variable as a mathematical term.classConstantThis class models an abstract constant, e.g.classDifferenceThis class models a difference between two terms.classExpThis class represents an exponential expression by "e".classFloatConstantThis class encapsulates a float as a term.classFloatVariableThis class models an float variable as a mathematical term.classFractionInstances of this class represent fractions of two terms.classFunctionalTermInstances of this class represent a functional term on some inner term.classIntegerConstantThis class encapsulates an integer as a term.classIntegerVariableThis class models an integer variable as a mathematical term.classLogarithmInstances of this class represent application of the logarithm function on some term.classMaximumThis class models the maximum of two terms.classMinimumThis class models the minimum of two terms.classPowerThis class represents a term raised to some power.classProductThis class models a product of two terms.classRootThis class represents a the nth root functionclassSumThis class models a sum of two terms.classVariableThis class models a variable as a mathematical term.Fields in net.sf.tweety.math.term declared as Term Modifier and Type Field Description private TermRoot. baseThe base of the rootprivate TermFraction. denominatorThe denominator of the fraction.private TermDifference. firstThe two terms of the differenceprivate TermFraction. nominatorThe nominator of the fraction.private TermPower. powerThe power.private TermDifference. secondThe two terms of the differenceprivate TermFunctionalTerm. termThe inner term of this operation.Fields in net.sf.tweety.math.term with type parameters of type Term Modifier and Type Field Description private java.util.List<Term>AssociativeOperation. termsThe terms of this operation.Methods in net.sf.tweety.math.term that return Term Modifier and Type Method Description TermAbsoluteValue. derive(Variable v)TermConstant. derive(Variable v)TermDifference. derive(Variable v)TermExp. derive(Variable v)TermFraction. derive(Variable v)TermLogarithm. derive(Variable v)TermMaximum. derive(Variable v)TermMinimum. derive(Variable v)TermPower. derive(Variable v)TermProduct. derive(Variable v)TermRoot. derive(Variable v)TermSum. derive(Variable v)abstract TermTerm. derive(Variable v)Differentiates the term with respect to the given variable.TermVariable. derive(Variable v)TermFunctionalTerm. getTerm()Returns the inner term.TermTerm. min(Term t)Returns the minimum of this and the given term.TermTerm. replaceAllTerms(double[] values, java.util.List<Variable> variables)Replaces terms according to the given map.TermTerm. replaceAllTerms(java.util.Map<? extends Term,? extends Term> substitutes)Replaces terms according to the given map.TermAbsoluteValue. replaceTerm(Term toSubstitute, Term substitution)TermConstant. replaceTerm(Term toSubstitute, Term substitution)TermDifference. replaceTerm(Term toSubstitute, Term substitution)TermExp. replaceTerm(Term toSubstitute, Term substitution)TermFraction. replaceTerm(Term toSubstitute, Term substitution)abstract TermFunctionalTerm. replaceTerm(Term toSubstitute, Term substitution)TermLogarithm. replaceTerm(Term toSubstitute, Term substitution)TermMaximum. replaceTerm(Term toSubstitute, Term substitution)TermMinimum. replaceTerm(Term toSubstitute, Term substitution)TermPower. replaceTerm(Term toSubstitute, Term substitution)TermProduct. replaceTerm(Term toSubstitute, Term substitution)TermRoot. replaceTerm(Term toSubstitute, Term substitution)TermSum. replaceTerm(Term toSubstitute, Term substitution)abstract TermTerm. replaceTerm(Term toSubstitute, Term substitution)Replaces each occurrence of "toSubstitute" by "substitution" and return the new term.TermVariable. replaceTerm(Term toSubstitute, Term substitution)TermAbsoluteValue. simplify()TermConstant. simplify()TermDifference. simplify()TermExp. simplify()TermFraction. simplify()TermLogarithm. simplify()TermMaximum. simplify()TermMinimum. simplify()TermPower. simplify()TermProduct. simplify()TermRoot. simplify()TermSum. simplify()abstract TermTerm. simplify()Simplifies this term in an equivalent way:
- Replaces products that contain a zero by the constant zero
- Removes a term one from products
- Removes a term zero from sums
- Aggregates constants in sums, products, and minimums
- Evaluates functional terms on constants
- Simplifies fractions where possible.TermVariable. simplify()Methods in net.sf.tweety.math.term that return types with arguments of type Term Modifier and Type Method Description java.util.List<Term>AssociativeOperation. getTerms()Returns the terms of this operation.Methods in net.sf.tweety.math.term with parameters of type Term Modifier and Type Method Description SumTerm. add(Term t)Returns the sum of this and the given term.voidAssociativeOperation. addTerm(Term t)Adds the given term to this operation.TermTerm. min(Term t)Returns the minimum of this and the given term.DifferenceTerm. minus(Term t)Returns the sum of this and (-1) * the given term.ProductTerm. mult(Term t)Returns the product of this and the given term.voidAssociativeOperation. removeTerm(Term t)Removes the given term from this operation.TermAbsoluteValue. replaceTerm(Term toSubstitute, Term substitution)TermConstant. replaceTerm(Term toSubstitute, Term substitution)TermDifference. replaceTerm(Term toSubstitute, Term substitution)TermExp. replaceTerm(Term toSubstitute, Term substitution)TermFraction. replaceTerm(Term toSubstitute, Term substitution)abstract TermFunctionalTerm. replaceTerm(Term toSubstitute, Term substitution)TermLogarithm. replaceTerm(Term toSubstitute, Term substitution)TermMaximum. replaceTerm(Term toSubstitute, Term substitution)TermMinimum. replaceTerm(Term toSubstitute, Term substitution)TermPower. replaceTerm(Term toSubstitute, Term substitution)TermProduct. replaceTerm(Term toSubstitute, Term substitution)TermRoot. replaceTerm(Term toSubstitute, Term substitution)TermSum. replaceTerm(Term toSubstitute, Term substitution)abstract TermTerm. replaceTerm(Term toSubstitute, Term substitution)Replaces each occurrence of "toSubstitute" by "substitution" and return the new term.TermVariable. replaceTerm(Term toSubstitute, Term substitution)Method parameters in net.sf.tweety.math.term with type arguments of type Term Modifier and Type Method Description voidAssociativeOperation. addAllTerm(java.util.Collection<Term> terms)Adds all the given terms of this operation.static double[][]Term. evaluateMatrix(java.util.List<java.util.List<Term>> functions, double[] values, java.util.List<Variable> variables)Evaluates each function in the given matrix with the given values for variables.static double[]Term. evaluateVector(java.util.List<Term> functions, double[] values, java.util.List<Variable> variables)Evaluates each function in the given list with the given values for variables.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.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.TermTerm. replaceAllTerms(java.util.Map<? extends Term,? extends Term> substitutes)Replaces terms according to the given map.TermTerm. replaceAllTerms(java.util.Map<? extends Term,? extends Term> substitutes)Replaces terms according to the given map.Constructors in net.sf.tweety.math.term with parameters of type Term Constructor Description AbsoluteValue(Term term)Creates a new absolute value term with the given inner term.AssociativeOperation(Term first, Term second)Creates a new operation with the given terms.Difference(Term first, Term second)Creates a new difference with the given terms.Exp(Term term)Creates a new exponential term with the given term.Fraction(Term nominator, Term denominator)Creates a new fraction of the two given terms.FunctionalTerm(Term term)Creates a new functional term with the given inner term.Logarithm(Term term)Creates a new logarithm term for the give inner term.Maximum(Term first, Term second)Creates a new maximum with the given terms.Minimum(Term first, Term second)Creates a new minimum with the given terms.Power(Term term, Term power)Creates a new power term with the given term and power.Product(Term first, Term second)Creates a new product with the given terms.Root(Term term)Creates a new square root.Root(Term term, Term base)Creates a new root for the given base.Sum(Term first, Term second)Creates a new sum with the given terms.Constructor parameters in net.sf.tweety.math.term with type arguments of type Term Constructor Description AssociativeOperation(java.util.Collection<? extends Term> terms)Creates a new operation with the given list of terms.Maximum(java.util.List<Term> terms)Creates a new maximum with the given list of terms.Minimum(java.util.List<Term> terms)Creates a new minimum with the given list of terms.Product(java.util.Collection<? extends Term> terms)Creates a new product with the given list of terms.Sum(java.util.Collection<? extends Term> terms)Creates a new sum with the given list of terms. 
 -