Package org.orekit.ssa.metrics
Class FieldProbabilityOfCollision<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.ssa.metrics.FieldProbabilityOfCollision<T>
- Type Parameters:
T- type of the field elements
Container for values relative to the probability of collision :
- Value of the probability of collision.
- Name of the method with which it was computed.
- Upper and lower limit of the value if the method provides them (such as
Laas2015for example). - Flag defining if the probability was maximized in any way (such as
Alfriend1999Maxfor example).
- Since:
- 12.0
- Author:
- Vincent Cucchietti
-
Constructor Summary
ConstructorsConstructorDescriptionFieldProbabilityOfCollision(T value, String probabilityOfCollisionMethodName) Constructor with default values of 0 for the upper/lower limits and default false flag for maximum probability.FieldProbabilityOfCollision(T value, String probabilityOfCollisionMethodName, boolean isMaxProbability) Constructor with default values of 0 for the upper and lower limits.FieldProbabilityOfCollision(T value, T lowerLimit, T upperLimit, String probabilityOfCollisionMethodName, boolean isMaxProbability) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet lower limit of the probability of collision value.Get name of the probability computing method with which this probability was computed.Get upper limit of the probability of collision value.getValue()Get value of the probability of collision.booleanGet flag that defines if this probability of collision can be considered a maximum probability of collision.
-
Constructor Details
-
FieldProbabilityOfCollision
Constructor with default values of 0 for the upper/lower limits and default false flag for maximum probability.- Parameters:
value- value of the probability of collisionprobabilityOfCollisionMethodName- name of the probability computing method with which this probability was computed
-
FieldProbabilityOfCollision
public FieldProbabilityOfCollision(T value, String probabilityOfCollisionMethodName, boolean isMaxProbability) Constructor with default values of 0 for the upper and lower limits.- Parameters:
value- value of the probability of collisionprobabilityOfCollisionMethodName- name of the probability computing method with which this probability was computedisMaxProbability- flag defining if it has been computed using a maximum probability of collision method
-
FieldProbabilityOfCollision
public FieldProbabilityOfCollision(T value, T lowerLimit, T upperLimit, String probabilityOfCollisionMethodName, boolean isMaxProbability) Constructor.- Parameters:
value- value of the probability of collisionlowerLimit- lower limit of the probability of collisionupperLimit- upper limit of the probability of collisionprobabilityOfCollisionMethodName- name of the probability computing method with which this probability was computedisMaxProbability- flag indicating if this method computes a maximum probability of collision
-
-
Method Details
-
getValue
Get value of the probability of collision.- Returns:
- value of the probability of collision
-
getLowerLimit
Get lower limit of the probability of collision value.- Returns:
- lower limit of the probability of collision value, 0 by default
-
getUpperLimit
Get upper limit of the probability of collision value.- Returns:
- upper limit of the probability of collision value, 0 by default
-
getProbabilityOfCollisionMethodName
Get name of the probability computing method with which this probability was computed.- Returns:
- name of the probability computing method with which this probability was computed
-
isMaxProbability
public boolean isMaxProbability()Get flag that defines if this probability of collision can be considered a maximum probability of collision.- Returns:
- flag that defines if this probability of collision can be considered a maximum probability of collision
-