algorithm
Class GradientDescentSearch1DAlgorithm
public class GradientDescentSearch1DAlgorithm
Überschrift:
Beschreibung:
Copyright: Copyright (c) 2002
Organisation:
NUM_STEPS , counter , docCounter , grid , gui , imageViewer , images , listenerList , maxError , minError , optPos , quietMode , searchRange , stepCounter , threshold |
addAlgorithmListener , fillSearchCoordinatesQueue , fireAlgorithmEvent , getDocCounter , getMaxError , getMinError , getNextExplenationURL , getNumComparisons , getOptimalPostion , getSearchRange , hasUserDefinedSearchRange , hasUserDefinedThreshold , incrementCounter , init , performNextComparison , removeAlgorithmListener , reset , setQuietMode , setSearchRange , setThreshold |
DIRECTION_1
private static final int DIRECTION_1
DIRECTION_2
private static final int DIRECTION_2
DIRECTION_3
private static final int DIRECTION_3
DIRECTION_4
private static final int DIRECTION_4
currentDirection
private int currentDirection
docCounter
private int docCounter
jumpDistance
private int jumpDistance
lastOptPos
private Point lastOptPos
searchArea
private boolean[][] searchArea
searchQueue
private LinkedList searchQueue
GradientDescentSearch1DAlgorithm
public GradientDescentSearch1DAlgorithm(ImageHolder ih)
getNextSearchCandidates
private LinkedList getNextSearchCandidates(Point initialPoint,
int direction,
int distance)
initialPoint
- This is the coordinate to search arounddirection
- The current direction to search indistance
- The current search distance
- A LinkedList including all legal further search coordinates in the current direction at the current distance
hasBeenSearched
private boolean hasBeenSearched(Point p)
Checks wether a certain coordiante has already been searched
p
- The coordinate to be checked
- true if coordinate has already been searched
toString
public String toString()