Uses of Class
org.tweetyproject.math.term.ElementOfCombinatoricsProb
Packages that use ElementOfCombinatoricsProb
Package
Description
-
Uses of ElementOfCombinatoricsProb in org.tweetyproject.math.examples
Methods in org.tweetyproject.math.examples that return types with arguments of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionKnapSack.createRandomNewSolution(ArrayList<ElementOfCombinatoricsProb> currSol) TravelingSalesman.createRandomNewSolution(ArrayList<ElementOfCombinatoricsProb> currSol) Methods in org.tweetyproject.math.examples with parameters of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionKnapSack.getHeuristicValue(ElementOfCombinatoricsProb solutionComponent, Integer getCurrentIndex, ElementOfCombinatoricsProb initialReference, ElementOfCombinatoricsProb[] sol) since this class is not used with ant optimization, we do not need this methodTravelingSalesman.getHeuristicValue(ElementOfCombinatoricsProb solutionComponent, Integer getCurrentIndex, ElementOfCombinatoricsProb initialReference, ElementOfCombinatoricsProb[] sol) Method parameters in org.tweetyproject.math.examples with type arguments of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionKnapSack.createRandomNewSolution(ArrayList<ElementOfCombinatoricsProb> currSol) TravelingSalesman.createRandomNewSolution(ArrayList<ElementOfCombinatoricsProb> currSol) doubleKnapSack.evaluate(ArrayList<ElementOfCombinatoricsProb> sol) doubleTravelingSalesman.evaluate(ArrayList<ElementOfCombinatoricsProb> sol) booleanKnapSack.isValid(ArrayList<ElementOfCombinatoricsProb> sol) booleanTravelingSalesman.isValid(ArrayList<ElementOfCombinatoricsProb> solution) doubleKnapSack.sumOfValues(ArrayList<ElementOfCombinatoricsProb> sol) calculates sum of valuesdoubleKnapSack.sumOfWeights(ArrayList<ElementOfCombinatoricsProb> sol) doubleTravelingSalesman.sumOfWeights(ArrayList<ElementOfCombinatoricsProb> sol) Constructor parameters in org.tweetyproject.math.examples with type arguments of type ElementOfCombinatoricsProbModifierConstructorDescriptionKnapSack(ArrayList<ElementOfCombinatoricsProb> elements, Term maxWeight) constructorTravelingSalesman(ArrayList<ElementOfCombinatoricsProb> elements) constructor -
Uses of ElementOfCombinatoricsProb in org.tweetyproject.math.opt.problem
Fields in org.tweetyproject.math.opt.problem with type parameters of type ElementOfCombinatoricsProbMethods in org.tweetyproject.math.opt.problem that return types with arguments of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionCombinatoricsProblem.createDifference(ArrayList<ElementOfCombinatoricsProb> c) abstract ArrayList<ElementOfCombinatoricsProb>CombinatoricsProblem.createRandomNewSolution(ArrayList<ElementOfCombinatoricsProb> currSol) create a solution that changes the solution currSol a little bit (i.e.: for TSP: swap 2 cities; for KnapSack: add a random element) for currSol == null: create a random solutionCombinatoricsProblem.formNeighborhood(ArrayList<ElementOfCombinatoricsProb> currSol, int minIterations, int maxIteration, double threshold) Methods in org.tweetyproject.math.opt.problem with parameters of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionabstract DoubleCombinatoricsProblem.getHeuristicValue(ElementOfCombinatoricsProb solutionComponent, Integer getCurrentIndex, ElementOfCombinatoricsProb initialReference, ElementOfCombinatoricsProb[] sol) for Ant optimization: give a chance between 0 and 1 for accepting solutionComponent to the solution solMethod parameters in org.tweetyproject.math.opt.problem with type arguments of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionCombinatoricsProblem.createDifference(ArrayList<ElementOfCombinatoricsProb> c) abstract ArrayList<ElementOfCombinatoricsProb>CombinatoricsProblem.createRandomNewSolution(ArrayList<ElementOfCombinatoricsProb> currSol) create a solution that changes the solution currSol a little bit (i.e.: for TSP: swap 2 cities; for KnapSack: add a random element) for currSol == null: create a random solutionabstract doubleCombinatoricsProblem.evaluate(ArrayList<ElementOfCombinatoricsProb> sol) evaluates the solutionCombinatoricsProblem.formNeighborhood(ArrayList<ElementOfCombinatoricsProb> currSol, int minIterations, int maxIteration, double threshold) abstract booleanCombinatoricsProblem.isValid(ArrayList<ElementOfCombinatoricsProb> sol) checks if a given solution is valid under all constraintsabstract doubleCombinatoricsProblem.sumOfWeights(ArrayList<ElementOfCombinatoricsProb> sol) Constructor parameters in org.tweetyproject.math.opt.problem with type arguments of type ElementOfCombinatoricsProbModifierConstructorDescriptionCombinatoricsProblem(List<ElementOfCombinatoricsProb> elements, int[][] graphRepresantation) constructor -
Uses of ElementOfCombinatoricsProb in org.tweetyproject.math.opt.solver
Methods in org.tweetyproject.math.opt.solver that return types with arguments of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionIteratedLocalSearch.bestNeighbor(ArrayList<ElementOfCombinatoricsProb> currSol) performs one step of a local searchStochasticLocalSearch.findbestNeighbor(ArrayList<ArrayList<ElementOfCombinatoricsProb>> neighbors) StochasticLocalSearch.findrandomNeighbor(ArrayList<ArrayList<ElementOfCombinatoricsProb>> neighbors) isula.aco.AntColony<ElementOfCombinatoricsProb,AntColonyOptimization.AntCol_Environment> AntColonyOptimization.getAntColony(isula.aco.ConfigurationProvider configurationProvider) Ant colonyIteratedLocalSearch.pertubate(ArrayList<ElementOfCombinatoricsProb> currSol) changes the solution drastically to escape a local minimumAntColonyOptimization.solve(CombinatoricsProblem prob) solves the problem and connects the config and initializes the restIteratedLocalSearch.solve(CombinatoricsProblem prob) SimpleGeneticOptimizationSolverCombinatorics.solve(CombinatoricsProblem prob) Returns the solution according the problem; problem has to be minimizing (which only contains variables with defined upper and lower bounds).SimulatedAnnealing.solve(CombinatoricsProblem prob) StochasticLocalSearch.solve(CombinatoricsProblem prob) TabuSearch.solve(CombinatoricsProblem prob) Method parameters in org.tweetyproject.math.opt.solver with type arguments of type ElementOfCombinatoricsProbModifier and TypeMethodDescriptionIteratedLocalSearch.bestNeighbor(ArrayList<ElementOfCombinatoricsProb> currSol) performs one step of a local searchintSimpleGeneticOptimizationSolverCombinatorics.FitnessComparator.compare(ArrayList<ElementOfCombinatoricsProb> ind1, ArrayList<ElementOfCombinatoricsProb> ind2) StochasticLocalSearch.findbestNeighbor(ArrayList<ArrayList<ElementOfCombinatoricsProb>> neighbors) StochasticLocalSearch.findrandomNeighbor(ArrayList<ArrayList<ElementOfCombinatoricsProb>> neighbors) IteratedLocalSearch.pertubate(ArrayList<ElementOfCombinatoricsProb> currSol) changes the solution drastically to escape a local minimum