Skip to content

Commit

Permalink
STYLE: Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Jan 12, 2024
1 parent 3b4e5f4 commit c1bd82d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions Examples/Atropos.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1322,25 +1322,25 @@ AtroposInitializeCommandLineOptions(itk::ants::CommandLineParser * parser)
}

{
std::string description = std::string("Different posterior probability formulations are possible as ") +
std::string("are different update options. To guarantee theoretical ") +
std::string("convergence properties, a proper formulation of the well-known ") +
std::string("iterated conditional modes (ICM) uses an asynchronous update step ") +
std::string("modulated by a specified annealing temperature. If one sets ") +
std::string("the AnnealingTemperature > 1 in the posterior formulation ") +
std::string("a traditional code set for a proper ICM update will be created. ") +
std::string("Otherwise, a synchronous update step will take place at each iteration. ") +
std::string("The annealing temperature, T, converts the posteriorProbability ") +
std::string("to posteriorProbability^(1/T) over the course of optimization. ") +
std::string("Options include the following: ") +
std::string description =
std::string("Different posterior probability formulations are possible as ") +
std::string("are different update options. To guarantee theoretical ") +
std::string("convergence properties, a proper formulation of the well-known ") +
std::string("iterated conditional modes (ICM) uses an asynchronous update step ") +
std::string("modulated by a specified annealing temperature. If one sets ") +
std::string("the AnnealingTemperature > 1 in the posterior formulation ") +
std::string("a traditional code set for a proper ICM update will be created. ") +
std::string("Otherwise, a synchronous update step will take place at each iteration. ") +
std::string("The annealing temperature, T, converts the posteriorProbability ") +
std::string("to posteriorProbability^(1/T) over the course of optimization. ") +
std::string("Options include the following: ") +
std::string(" Socrates: posteriorProbability = (spatialPrior)^priorWeight") +
std::string("*(likelihood*mrfPrior)^(1-priorWeight), ") + std::string(" Plato: posteriorProbability = 1.0, ") +
std::string(" Aristotle: posteriorProbability = 1.0, ") +
std::string(" Sigmoid: posteriorProbability = 1.0, ") /* +
std::string( " Zeno: posteriorProbability = 1.0\n" ) +
std::string( " Diogenes: posteriorProbability = 1.0\n" ) +
std::string( " Thales: posteriorProbability = 1.0\n" ) +
std::string( " Democritus: posteriorProbability = 1.0.\n" ) */
std::string(" Aristotle: posteriorProbability = 1.0, ") + std::string(" Sigmoid: posteriorProbability = 1.0, ")
// std::string( " Zeno: posteriorProbability = 1.0\n" ) +
// std::string( " Diogenes: posteriorProbability = 1.0\n" ) +
// std::string( " Thales: posteriorProbability = 1.0\n" ) +
// std::string( " Democritus: posteriorProbability = 1.0.\n" )
;

OptionType::Pointer option = OptionType::New();
Expand Down

0 comments on commit c1bd82d

Please sign in to comment.