|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.pixy.matching.RetryManager
The RetryManager
is a class to generate the initial
R.A. and Decl. of the center, and the initial field of view for
matching process. It generates some sets of those parameters based
on the specified policy.
Field Summary | |
private java.util.Vector |
coor_list
The list of center R.A. |
protected Coor |
original_coor
The original R.A. |
protected double |
original_fov_height
The original vertical field of view. |
protected double |
original_fov_width
The original horizontal field of view. |
protected int |
policy
The policy. |
static int |
POLICY_NO_RETRY
The number of policy which implies to run the matching process only once with no retry. |
static int |
POLICY_POSITION_SEARCH
The number of policy which implies to search the R.A. |
static int |
POLICY_POSITION_UNCERTAIN
The number of policy which implies the R.A. |
protected int |
retry_count
The retry count. |
protected double |
search_radius
The search radius. |
Constructor Summary | |
RetryManager(Coor center_coor,
double fov_width,
double fov_height)
Constructs a RetryManager . |
Method Summary | |
Coor |
getCenterCoor()
Gets the R.A. |
double |
getHorizontalFov()
Gets the horizontal field of view for the current retry. |
double |
getVerticalFov()
Gets the vertical field of view for the current retry. |
void |
increment()
Increments the retry count. |
void |
setPolicy(int policy)
Sets the policy. |
void |
setSearchRadius(double radius)
Sets the search radius. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int POLICY_NO_RETRY
public static final int POLICY_POSITION_UNCERTAIN
public static final int POLICY_POSITION_SEARCH
protected int policy
protected Coor original_coor
protected double original_fov_width
protected double original_fov_height
protected double search_radius
protected int retry_count
private java.util.Vector coor_list
Constructor Detail |
public RetryManager(Coor center_coor, double fov_width, double fov_height)
RetryManager
.center_coor
- the R.A. and Decl. of the center.fov_width
- the horizontal field of view in degree.fov_height
- the vertical field of view in degree.Method Detail |
public void setSearchRadius(double radius)
radius
- the search radius.public void setPolicy(int policy)
policy
- the number of policy.public void increment() throws MaximumRepetitionCountException
public Coor getCenterCoor()
public double getHorizontalFov()
public double getVerticalFov()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |