CmpSpots
Class CmpPairSecondary.OptimizedPair

java.lang.Object
  extended by CmpSpots.CmpPairSecondary.OptimizedPair
Enclosing class:
CmpPairSecondary

 class CmpPairSecondary.OptimizedPair
extends java.lang.Object

Used for passing data on current optimized pair of spots


Field Summary
(package private)  int code1
          code1 is old Gi spot pairing-code
(package private)  int code2
          code2 is old Gi' spot pairing-code
(package private)  float dL
          dL is new dL - the distance from the landmark to the spot pair
(package private)  float dP
          dP is new dP - the distance between the spots
(package private)  float dpOld1
          dpOld1 is old1 dP
(package private)  float dpOld2
          dpOld2 is old2 dP
(package private)  int k
          Is the k'th LM set
(package private)  int kAlt
          kAlt is the alternate LM set that replaces the current landmark set
(package private)  int nn
          nn is the nn'th alternate landmark set
(package private)  int nsample
          nsample is sample Gi and is either RSAMPLE or SAMPLE
(package private)  int optX2
          Previous optimal pair X coordinate
(package private)  int optY2
          Previous optimal pair X coordinate
(package private)  int otherSample
          The other sample number
(package private)  DbSpot p1
          p1 is Gi spot being test for a more optimal pairing
(package private)  DbSpot pKoptimal
          This is a more optimal (p2) spot if found, i.e.
(package private)  DbSpot pLastP1spot
          This is the previous Gi p1 spot in list.
(package private)  int type
          type is new type, i.e.
 
Constructor Summary
CmpPairSecondary.OptimizedPair()
          OptimizedPair() - constructor
 
Method Summary
(package private)  java.lang.String getFullOPstr(java.lang.String title)
          getFullOPstr() - get full optimized pair state string
(package private)  java.lang.String getShortDPtypeOPstr(java.lang.String title)
          getShortDPtypeOPstr() - get shortened optimized pair state string
(package private)  java.lang.String getShortOPstr(java.lang.String title)
          getShortOPstr() - get shortened optimized pair state string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p1

DbSpot p1
p1 is Gi spot being test for a more optimal pairing


pLastP1spot

DbSpot pLastP1spot
This is the previous Gi p1 spot in list. It is needed if we move the spot from LM[k] to LM[kAlt] and need to adjust the landmark sets.


pKoptimal

DbSpot pKoptimal
This is a more optimal (p2) spot if found, i.e. not null, to be paired with p1.


k

int k
Is the k'th LM set


nn

int nn
nn is the nn'th alternate landmark set


kAlt

int kAlt
kAlt is the alternate LM set that replaces the current landmark set


nsample

int nsample
nsample is sample Gi and is either RSAMPLE or SAMPLE


otherSample

int otherSample
The other sample number


type

int type
type is new type, i.e. pairing-code


code1

int code1
code1 is old Gi spot pairing-code


code2

int code2
code2 is old Gi' spot pairing-code


optX2

int optX2
Previous optimal pair X coordinate


optY2

int optY2
Previous optimal pair X coordinate


dpOld1

float dpOld1
dpOld1 is old1 dP


dpOld2

float dpOld2
dpOld2 is old2 dP


dP

float dP
dP is new dP - the distance between the spots


dL

float dL
dL is new dL - the distance from the landmark to the spot pair

Constructor Detail

CmpPairSecondary.OptimizedPair

CmpPairSecondary.OptimizedPair()
OptimizedPair() - constructor

Method Detail

getFullOPstr

java.lang.String getFullOPstr(java.lang.String title)
getFullOPstr() - get full optimized pair state string

Parameters:
title - - optional title, else "OptimizedPair"
Returns:
state string

getShortOPstr

java.lang.String getShortOPstr(java.lang.String title)
getShortOPstr() - get shortened optimized pair state string

Parameters:
title - - optional title, else "OptimizedPair"
Returns:
state string

getShortDPtypeOPstr

java.lang.String getShortDPtypeOPstr(java.lang.String title)
getShortDPtypeOPstr() - get shortened optimized pair state string

Parameters:
title - - optional title, else "OptimizedPair"
Returns:
state string