Package org.moeaframework.util.tree
Class Cos
java.lang.Object
org.moeaframework.util.tree.Node
org.moeaframework.util.tree.Cos
- All Implemented Interfaces:
Serializable
The node for calculating the trigonometric cosine of an angle specified in radians.
Name | Type | Description |
---|---|---|
Argument 1 | Number | The angle |
Return Value | Number | The cosine of the angle |
- See Also:
-
Constructor Summary
ConstructorDescriptionCos()
Constructs a new node for calculating the trigonometric cosine of an angle specified in radians. -
Method Summary
Modifier and TypeMethodDescriptioncopyNode()
Returns a copy of this node, but without any children or parents assigned.evaluate
(Environment environment) Evaluates this node in the context of the specified environment.Methods inherited from class org.moeaframework.util.tree.Node
copyTree, getArgument, getArgumentType, getDepth, getFunctionAt, getFunctionAt, getMaximumHeight, getMinimumHeight, getNodeAt, getNodeAt, getNodeAt, getNumberOfArguments, getNumberOfFunctions, getNumberOfFunctions, getNumberOfNodes, getNumberOfNodes, getNumberOfNodes, getNumberOfTerminals, getNumberOfTerminals, getParent, getReturnType, getTerminalAt, getTerminalAt, isFixed, isTerminal, isValid, setArgument, setFixed, setFixedTree, size, toString
-
Constructor Details
-
Cos
public Cos()Constructs a new node for calculating the trigonometric cosine of an angle specified in radians.
-
-
Method Details