class_body
{ "{"
block_comment "/** Serializable version identifier */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
decimal_integer_literal "8589540077390120676L"
; ";"
block_comment "/** The mean of this distribution. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "mean"
= "="
decimal_integer_literal "0"
; ";"
block_comment "/** The standard deviation of this distribution. */"
field_declaration
modifiers
private "private"
floating_point_type
double "double"
variable_declarator
identifier "standardDeviation"
= "="
decimal_integer_literal "1"
; ";"
block_comment "/**\n * Create a normal distribution using the given mean"...
constructor_declaration (+41 nodes collapsed)
block_comment "/**\n * Creates normal distribution with the mean equal t"...
constructor_declaration
modifiers
public "public"
identifier "NormalDistributionImpl"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
this "this"
argument_list
( "("
decimal_floating_point_literal "0.0"
, ","
decimal_floating_point_literal "1.0"
) ")"
; ";"
} "}"
block_comment "/**\n * Access the mean.\n * @return mean for this dis"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getMean"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "mean"
; ";"
} "}"
block_comment "/**\n * Modify the mean.\n * @param mean for this dist"...
method_declaration (+24 nodes collapsed)
block_comment "/**\n * Access the standard deviation.\n * @return sta"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "getStandardDeviation"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "standardDeviation"
; ";"
} "}"
block_comment "/**\n * Modify the standard deviation.\n * @param sd s"...
method_declaration (+46 nodes collapsed)
block_comment "/**\n * For this disbution, X, this method returns P(X &l"...
method_declaration
modifiers
public "public"
floating_point_type
double "double"
identifier "cumulativeProbability"
formal_parameters
( "("
formal_parameter
floating_point_type
double "double"
identifier "x"
) ")"
throws
throws "throws"
type_identifier "MathException"
block
{ "{"
return_statement (+42 nodes collapsed)
} "}"
block_comment "/**\n * For this distribution, X, this method returns the"...
method_declaration (+70 nodes collapsed)
block_comment "/**\n * Access the domain value lower bound, based on <co"...
method_declaration (+63 nodes collapsed)
block_comment "/**\n * Access the domain value upper bound, based on <co"...
method_declaration (+61 nodes collapsed)
block_comment "/**\n * Access the initial domain value, based on <code>p"...
method_declaration (+99 nodes collapsed)
} "}"