public abstract class DetectionIdentification<S extends DetectionIdentification<S,T>,T extends DetectionView<S,T>> extends Object
AbstractDetectionon-relationships to/from a text file. The AbstractDetection-objects of every ViewDataBeads have an ArrayList
of DetectionIdentification objects telling which other AbstractDetections are correspondence candidates or true correspondences.| Modifier and Type | Field and Description |
|---|---|
protected long |
detectionID |
protected ViewDataBeads |
view |
| Constructor and Description |
|---|
DetectionIdentification(DetectionView<S,T> detection)
This constructor is used when a BeadIdenfication object is initialized during matching from an actual
Bead object. |
DetectionIdentification(int detectionID,
ViewDataBeads view)
This constructor is used when a BeadIdenfication object is initialized from a file where only the BeadID and the
ViewDataBeads are known. |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
getDetection()
Returns the actual
Bead object it links to |
long |
getDetectionID()
Return the ID of the
Bead object it describes |
ViewDataBeads |
getView()
Returns the
ViewDataBeads object of the view it belongs to. |
int |
getViewID()
Returns the ID of the view it belongs to.
|
String |
toString()
Prints the bead properties
|
protected final long detectionID
protected final ViewDataBeads view
public DetectionIdentification(DetectionView<S,T> detection)
public DetectionIdentification(int detectionID,
ViewDataBeads view)
ViewDataBeads are known.
// * @param beadID - The BeadID of the Bead object it links to.view - - The ViewDataBeads object the bead belongs to.public long getDetectionID()
Bead object it describespublic ViewDataBeads getView()
ViewDataBeads object of the view it belongs to.ViewDataBeadspublic int getViewID()
Copyright © 2015–2021 Fiji. All rights reserved.