edu.duke.cs.banjo.learner
Class SearcherSkip

java.lang.Object
  extended byedu.duke.cs.banjo.learner.Searcher
      extended byedu.duke.cs.banjo.learner.SearcherSkip
All Implemented Interfaces:
SearcherI

public class SearcherSkip
extends Searcher

This searcher is only setting up as much of the bayesnet structures as is necessary to prepare for the post-processing, without actually having to go through a search. Consequently, we suppress the display of the various search parameters in the output.

Details:

Change History:
Created on Feb 27, 2006 8/6/2008 hjs Add evaluator to have network score computed.

Author:
Jurgen Sladeczek (hjs)
For the latest info, please visit www.cs.duke.edu.

Nested Class Summary
 
Nested classes inherited from class edu.duke.cs.banjo.learner.Searcher
Searcher.HighScoreSetUpdater, Searcher.SearchExecuter, Searcher.SearchMultipleTerminator, Searcher.SearchTerminator
 
Field Summary
 
Fields inherited from class edu.duke.cs.banjo.learner.Searcher
bayesNetManager, currentBestScoreSinceRestart, cycleChecker, decider, displayFeedbackByTime, displayMemoryInfo, elapsedTime, equivalenceChecker, estimatedTime, evaluator, feedbackRestarts, feedbackTimeDelta, fileReportInterval, fileReportTimeDelta, highScoreSetUpdater, highScoreStructureSet, highScoreStructureSinceRestart, intermediateTime, isEquivalent, lineLength, linePostfix, loopPaddingLength, maxMarkovLag, maxNetworksVisitedInInnerLoop, maxRestarts, maxSearchLoops, maxSearchTime, minMarkovLag, nBestCount, nBestMax, nBestThresholdScore, networksVisitedGlobalCounter, networksVisitedInnerLoopCounter, newLinePlusPrefix, nextFeedbackTime, nextFileReportTime, nextScreenReportTime, nonEquivalentHighScoreStructureSet, numberOfDecimals, optionalThreadLabel, percentLevel, percentPaddingLength, prefix, processData, proposer, restartCount, restartPaddingLength, restartsAtCounts, restartWithRandomNetwork, screenReportInterval, screenReportTimeDelta, searcherStatistics, searcherStats, searchExecuter, searchTerminator, startTime, suggestedBayesNetChange, suggestedChangeList, terminator, timeFormat, timePaddingLength, trackIntermediateResults, unreachableScore, varCount
 
Constructor Summary
SearcherSkip(Settings _processData)
           
 
Method Summary
 void executeSearch()
          Executes the search based on the particular search algorithm.
protected  void setupSearch()
           
 void updateProcessData(Settings _processData)
          Updates whatever setting within processData that is being changed in the particular searcher implementation
private  boolean validateRequiredData()
          Validates the settings values required for the searcher base class (a multitude of settings including the variable count, min and max Markov orders, max parent counts, and more).
 
Methods inherited from class edu.duke.cs.banjo.learner.Searcher
askToVerifySettings, feedbackBasedOnTime, finalCleanup, getBayesNetManager, getElapsedTime, getHighScore, getHighScoreStructure, getHighScoreStructureSet, getNetworksVisitedGlobalCounter, getSearcherStatistics, handleOutOfMemory, listScores, provideCollectedStatistics, pruneEquivalentNetworks, trackIntermediateResults, validChoices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearcherSkip

public SearcherSkip(Settings _processData)
             throws java.lang.Exception
Method Detail

setupSearch

protected void setupSearch()
                    throws java.lang.Exception
Throws:
java.lang.Exception

executeSearch

public void executeSearch()
                   throws java.lang.Exception
Description copied from class: Searcher
Executes the search based on the particular search algorithm.

Specified by:
executeSearch in interface SearcherI
Specified by:
executeSearch in class Searcher
Throws:
java.lang.Exception

updateProcessData

public void updateProcessData(Settings _processData)
                       throws java.lang.Exception
Description copied from interface: SearcherI
Updates whatever setting within processData that is being changed in the particular searcher implementation

Parameters:
_processData - The data to be exchanged.
Throws:
java.lang.Exception

validateRequiredData

private boolean validateRequiredData()
                              throws java.lang.Exception
Description copied from class: Searcher
Validates the settings values required for the searcher base class (a multitude of settings including the variable count, min and max Markov orders, max parent counts, and more).

Throws:
java.lang.Exception