class_body
{ "{"
block_comment "/** Evaluations counter. */"
field_declaration
modifiers
protected "protected"
final "final"
type_identifier "Incrementor"
variable_declarator
identifier "evaluations"
; ";"
block_comment "/** Iterations counter. */"
field_declaration
modifiers
protected "protected"
final "final"
type_identifier "Incrementor"
variable_declarator
identifier "iterations"
; ";"
block_comment "/** Convergence checker. */"
field_declaration
modifiers
private "private"
generic_type
type_identifier "ConvergenceChecker"
type_arguments
< "<"
type_identifier "PAIR"
> ">"
variable_declarator
identifier "checker"
; ";"
block_comment "/**\n * @param checker Convergence checker.\n */"
constructor_declaration
modifiers
protected "protected"
identifier "BaseOptimizer"
formal_parameters
( "("
formal_parameter
generic_type
type_identifier "ConvergenceChecker"
type_arguments
< "<"
type_identifier "PAIR"
> ">"
identifier "checker"
) ")"
constructor_body
{ "{"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "checker"
= "="
identifier "checker"
; ";"
expression_statement
assignment_expression
identifier "evaluations"
= "="
object_creation_expression
new "new"
type_identifier "Incrementor"
argument_list
( "("
decimal_integer_literal "0"
, ","
object_creation_expression
new "new"
type_identifier "MaxEvalCallback"
argument_list
( "("
) ")"
) ")"
; ";"
expression_statement
assignment_expression
identifier "iterations"
= "="
object_creation_expression
new "new"
type_identifier "Incrementor"
argument_list
( "("
decimal_integer_literal "0"
, ","
object_creation_expression
new "new"
type_identifier "MaxIterCallback"
argument_list
( "("
) ")"
) ")"
; ";"
} "}"
block_comment "/**\n * Gets the maximal number of function evaluations.\n"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Gets the number of evaluations of the objective f"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Gets the maximal number of iterations.\n *\n "...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Gets the number of iterations performed by the al"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Gets the convergence checker.\n *\n * @retu"...
method_declaration
modifiers
public "public"
generic_type
type_identifier "ConvergenceChecker"
type_arguments
< "<"
type_identifier "PAIR"
> ">"
identifier "getConvergenceChecker"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "checker"
; ";"
} "}"
block_comment "/**\n * Stores data and performs the optimization.\n *"...
method_declaration (+58 nodes collapsed)
block_comment "/**\n * Performs the bulk of the optimization algorithm.\n"...
method_declaration
modifiers
protected "protected"
abstract "abstract"
type_identifier "PAIR"
identifier "doOptimize"
formal_parameters
( "("
) ")"
; ";"
block_comment "/**\n * Increment the evaluation count.\n *\n * @th"...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Increment the iteration count.\n *\n * @thr"...
method_declaration (+23 nodes collapsed)
block_comment "/**\n * Scans the list of (required and optional) optimiz"...
method_declaration (+105 nodes collapsed)
block_comment "/**\n * Defines the action to perform when reaching the m"...
class_declaration (+42 nodes collapsed)
block_comment "/**\n * Defines the action to perform when reaching the m"...
class_declaration (+42 nodes collapsed)
} "}"