Searched refs:solution (Results 1 - 9 of 9) sorted by relevance

/haiku/src/servers/package/
H A DProblemWindow.cpp49 Solution(BSolverProblem* problem, const BSolverProblemSolution* solution) argument
52 fSolution(solution)
87 "a solution for each:")))
156 const Solution& solution = it->second; local
157 status_t error = solver->SelectProblemSolution(solution.fProblem,
158 solution.fSolution);
160 throw BFatalErrorException(error, "failed to set solution");
249 const BSolverProblemSolution* solution = problem->SolutionAt(k); local
251 BString().SetToFormat(B_TRANSLATE_COMMENT("solution %d:",
260 int32 elementCount = solution
[all...]
H A DVolume.cpp504 const BSolverProblemSolution* solution = problem->SolutionAt(k); local
505 INFORM(" solution %" B_PRId32 ":\n", k + 1);
506 int32 elementCount = solution->CountElements();
509 = solution->ElementAt(l);
/haiku/src/kits/package/solver/libsolv/
H A DLibsolvSolver.cpp137 void SetSelectedSolution(const Solution* solution) argument
139 fSelectedSolution = solution;
513 const Solution* solution = static_cast<const Solution*>(_solution); local
514 if (solution->Problem() != problem)
517 problem->SetSelectedSolution(solution);
532 if (const Solution* solution = problem->SelectedSolution())
533 solver_take_solution(fSolver, problem->Id(), solution->Id(), fJobs);
1032 Solution* solution = new(std::nothrow) Solution(solutionId, problem); local
1033 if (solution == NULL || !problem->AppendSolution(solution)) {
1057 _AddSolutionElement(Solution* solution, Id sourceId, Id targetId) argument
1186 _AddSolutionElement(Solution* solution, BSolverProblemSolutionElement::BType type, Id sourceSolvableId, Id targetSolvableId, const char* selectionString) argument
[all...]
H A DLibsolvSolver.h70 const BSolverProblemSolution* solution);
111 status_t _AddSolutionElement(Solution* solution,
113 status_t _AddSolutionElement(Solution* solution,
/haiku/src/kits/package/solver/
H A DSolverProblem.cpp125 BSolverProblem::AppendSolution(BSolverProblemSolution* solution) argument
127 return fSolutions.AddItem(solution);
/haiku/src/tools/get_package_dependencies/
H A Dget_package_dependencies.cpp132 const BSolverProblemSolution* solution = problem->SolutionAt(k); local
133 fprintf(stderr, " solution %" B_PRId32 ":\n", k + 1);
134 int32 elementCount = solution->CountElements();
137 = solution->ElementAt(l);
/haiku/headers/os/package/solver/
H A DSolverProblem.h62 BSolverProblemSolution* solution);
H A DSolver.h88 const BSolverProblemSolution* solution) = 0;
/haiku/src/bin/pkgman/
H A DPackageManager.cpp86 const BSolverProblemSolution* solution = problem->SolutionAt(k); local
87 printf(" solution %" B_PRId32 ":\n", k + 1);
88 int32 elementCount = solution->CountElements();
91 = solution->ElementAt(l);
99 // let the user choose a solution
100 printf("Please select a solution, skip the problem for now or quit.\n");
127 DIE(error, "failed to set solution");

Completed in 71 milliseconds