• Home
  • Raw
  • Download

Lines Matching refs:Problem

94 :class:`Problem` when added with :func:`Problem::AddResidualBlock`.
970 Problem problem;
1232 :class:`Problem`
1235 .. class:: Problem
1237 :class:`Problem` holds the robustified bounds constrained
1239 least squares problem, use the :func:`Problem::AddResidualBlock`
1240 and :func:`Problem::AddParameterBlock` methods.
1251 Problem problem;
1255 :func:`Problem::AddResidualBlock` as the name implies, adds a
1268 using :func:`Problem::AddParameterBlock`. This causes additional
1269 correctness checking; however, :func:`Problem::AddResidualBlock`
1271 calling :func:`Problem::AddParameterBlock` explicitly is not
1274 :func:`Problem::AddParameterBlock` explicitly adds a parameter
1275 block to the :class:`Problem`. Optionally it allows the user to
1282 :func:`Problem::SetParameterBlockConstant` and undo this using
1298 :class:`Problem` by default takes ownership of the
1301 :class:`Problem`. If the user wishes to keep control over the
1303 corresponding enums in the :class:`Problem::Options` struct.
1305 Note that even though the Problem takes ownership of ``cost_function``
1311 .. function:: ResidualBlockId Problem::AddResidualBlock(CostFunction* cost_function, LossFunction* …
1327 The Problem object by default takes ownership of the
1329 live for the life of the Problem object. If the user wishes to
1333 Note: Even though the Problem takes ownership of cost_function
1347 Problem problem;
1353 .. function:: void Problem::AddParameterBlock(double* values, int size, LocalParameterization* loca…
1360 .. function:: void Problem::AddParameterBlock(double* values, int size)
1367 .. function:: void Problem::RemoveResidualBlock(ResidualBlockId residual_block)
1372 problem itself is deleted. If Problem::Options::enable_fast_removal is
1374 residual block will incur a scan of the entire Problem object to verify that
1383 .. function:: void Problem::RemoveParameterBlock(double* values)
1390 Problem::Options::enable_fast_removal is true, then
1392 parameter block will incur a scan of the entire Problem object.
1399 .. function:: void Problem::SetParameterBlockConstant(double* values)
1403 .. function:: void Problem::SetParameterBlockVariable(double* values)
1407 .. function:: void Problem::SetParameterization(double* values, LocalParameterization* local_parame…
1410 The local_parameterization is owned by the Problem by default. It
1416 .. function:: LocalParameterization* Problem::GetParameterization(double* values) const
1422 .. function:: void Problem::SetParameterLowerBound(double* values, int index, double lower_bound)
1428 .. function:: void Problem::SetParameterUpperBound(double* values, int index, double upper_bound)
1434 .. function:: int Problem::NumParameterBlocks() const
1439 .. function:: int Problem::NumParameters() const
1444 .. function:: int Problem::NumResidualBlocks() const
1449 .. function:: int Problem::NumResiduals() const
1454 .. function:: int Problem::ParameterBlockSize(const double* values) const
1458 .. function:: int Problem::ParameterBlockLocalSize(const double* values) const
1464 .. function:: bool Problem::HasParameterBlock(const double* values) const
1468 .. function:: void Problem::GetParameterBlocks(vector<double*>* parameter_blocks) const
1474 .. function:: void Problem::GetResidualBlocks(vector<ResidualBlockId>* residual_blocks) const
1480 .. function:: void Problem::GetParameterBlocksForResidualBlock(const ResidualBlockId residual_block…
1485 .. function:: void Problem::GetResidualBlocksForParameterBlock(const double* values, vector<Residua…
1490 If `Problem::Options::enable_fast_removal` is
1494 :class:`Problem` object.
1496 .. function:: bool Problem::Evaluate(const Problem::EvaluateOptions& options, double* cost, vector<…
1498 Evaluate a :class:`Problem`. Any of the output pointers can be
1500 controlled by the :class:`Problem::EvaluateOptions` struct below.
1504 Problem problem;
1509 problem.Evaluate(Problem::EvaluateOptions(), &cost, NULL, NULL, NULL);
1517 problem.Evaluate(Problem::EvaluateOptions(), &cost, NULL, NULL, NULL);
1526 .. class:: Problem::EvaluateOptions
1528 Options struct that is used to control :func:`Problem::Evaluate`.
1530 .. member:: vector<double*> Problem::EvaluateOptions::parameter_blocks
1542 used to add parameter blocks to the Problem. These parameter block
1546 .. member:: vector<ResidualBlockId> Problem::EvaluateOptions::residual_blocks