|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Monitor | |
|---|---|
| com.antelmann.game | This package contains packages to support game implementations. |
| com.antelmann.game.puzzle | This package contains single-user game implementations representing puzzles. |
| com.antelmann.io | This package contains classes that are concerned with input/output operations. |
| com.antelmann.net | The classes in this package are designed to provide convenient access to Internet related functionality. |
| com.antelmann.net.mail | The classes in this package are designed to ease the handling of emails. |
| com.antelmann.util | This package contains general utility classes that are used throughout the other packages. |
| Uses of Monitor in com.antelmann.game |
|---|
| Fields in com.antelmann.game with type parameters of type Monitor | |
|---|---|
protected Vector<Monitor> |
TemplatePlayer.monitors
|
| Methods in com.antelmann.game that return Monitor | |
|---|---|
protected Monitor[] |
TemplatePlayer.getMonitors()
returns an array of all Monitors if tracking is enabled |
| Methods in com.antelmann.game with parameters of type Monitor | |
|---|---|
static double |
GameUtilities.alphaBetaSearch(GamePlay game,
GameMove move,
Player player,
int[] role,
int level,
double alpha,
double beta,
Monitor monitor,
boolean orderMoves)
This function is usually just called by the other corresponding monitored alphaBetaSearch function. |
static double |
GameUtilities.alphaBetaSearch(GamePlay game,
GameMove move,
Player player,
int[] role,
int level,
Monitor monitor,
boolean orderMoves)
This function implements Alpha-Beta Search algorithm and returns the evaluation given by the player's heuristic functions at the leaves (intelligently pruned MinMax algorithm) - monitor version (search is cut off when monitor disabled). |
static GamePlay |
GameUtilities.bestFirstSearch(GamePlay game,
int[] roles,
int maxNumberOfNodes,
Player player,
Monitor monitor)
A 'best-first-search' algorithm that looks for a path to win the game according to the given roles. |
static GamePlay |
GameUtilities.breadthFirstSearch(GamePlay game,
int[] roles,
int numberOfMoves,
Monitor monitor)
breadthFirstSearch() is a 'breadth-first-search' puzzle-solver. |
static GamePlay |
GameUtilities.depthFirstSearch(GamePlay game,
int[] roles,
int numberOfMoves,
Monitor monitor)
depthFirstSearch() is a 'dfs puzzle-solver' that tries to find a path to a winning game position defined by the given roles within the given number of moves. |
static GamePlay |
GameUtilities.depthFirstSearch(GamePlay game,
int[] roles,
int numberOfMoves,
Player player,
Monitor monitor)
This depthFirstSearch() variant sorts the moves according to their heuristics provided by the given player before performing its otherwise 'depth-first-search' algorithm. |
protected double |
TemplatePlayer.evaluate(GamePlay game,
GameMove move,
int[] role,
int level,
long milliseconds,
Monitor monitor)
Internal evaluate function called by public evaluate() and selectMove(). |
static double |
GameUtilities.minMaxSearch(GamePlay game,
GameMove move,
Player player,
int[] role,
int level,
Monitor monitor)
implements MinMax Search algorithm and returns the evaluation given by the player's heuristic functions at the leaves; tracking is enabled tracking through a Monitor object. |
| Constructors in com.antelmann.game with parameters of type Monitor | |
|---|---|
SocketPlayerServer(int port,
Player player,
Monitor monitor,
Logger logger)
The constructor binds itself to the given port and keeps a reference to the actual Player object. |
|
TemplatePlayer.MoveEvaluater(TemplatePlayer.Synchronizer synch,
GamePlay game,
GameMove move,
int[] role,
int level,
long milliseconds,
Monitor monitor)
|
|
| Uses of Monitor in com.antelmann.game.puzzle |
|---|
| Methods in com.antelmann.game.puzzle with parameters of type Monitor | |
|---|---|
boolean |
DiceEquation.nextSolution(Monitor mon)
some solutions returned hereby look the same as they falsely distinguish the order of dices; use printPath() to get a unique representatino |
| Uses of Monitor in com.antelmann.io |
|---|
| Methods in com.antelmann.io that return Monitor | |
|---|---|
Monitor |
Backup.getMonitor()
|
| Methods in com.antelmann.io with parameters of type Monitor | |
|---|---|
void |
MyFile.directoryCompare(File dir,
PrintStream ps,
Monitor monitor)
|
void |
Backup.setMonitor(Monitor monitor)
|
MyFile[] |
MyFile.synchronizeDir(File destinationDir,
FileFilter filter,
Logger logger,
Monitor monitor)
|
MyFile[] |
MyFile.synchronizeDir(File destinationDir,
Logger logger,
Monitor monitor)
This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method. |
void |
MyFile.unzipTo(File directory,
boolean overwriteExistingFiles,
Monitor monitor)
|
void |
MyFile.unzipTo(File directory,
FileFilter filter,
Monitor monitor)
allows to react individually per file on whether to unzip it or nor |
void |
MyFile.zipTo(File file,
FileFilter filter,
String comment,
Monitor monitor)
only the file parameter must not be null |
void |
MyFile.zipTo(File file,
String comment,
Monitor monitor)
|
| Constructors in com.antelmann.io with parameters of type Monitor | |
|---|---|
Backup(File originDir,
File destinationDir,
FileFilter filter,
boolean deleteAtTarget,
Monitor monitor,
Logger logger)
|
|
| Uses of Monitor in com.antelmann.net |
|---|
| Subclasses of Monitor in com.antelmann.net | |
|---|---|
static class |
Spider.SMonitor
Deprecated. |
| Methods in com.antelmann.net with parameters of type Monitor | |
|---|---|
Object[] |
FTPConnector.downloadTree(String remoteSourceDir,
File targetDir,
Logger logger,
Monitor monitor)
uses a Monitor for enabling to cancel the operation prematurely. |
static List<URL> |
Spider.searchWebFor(String[] searchPattern,
ArrayList<URL> searchList,
boolean includeHTMLCode,
int level,
boolean currentSiteOnly,
List<URL> excludeList,
List<URL> resultList,
String[] searchURLExclusionPatterns,
Monitor monitor)
Deprecated. |
static URL[] |
Spider.searchWebFor(String[] searchPattern,
URL entryPoint,
boolean includeHTMLCode,
int level,
boolean currentSiteOnly,
String[] searchURLExclusionPatterns,
Monitor monitor)
Deprecated. |
Object[] |
FTPConnector.synchronizeDirectory(File sourceDir,
String remoteTargetDir,
boolean deleteRemoteFiles,
Logger logger,
Monitor monitor)
This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDirectory() method. |
| Uses of Monitor in com.antelmann.net.mail |
|---|
| Methods in com.antelmann.net.mail with parameters of type Monitor | |
|---|---|
void |
EmailAccount.sendEmails(Email email,
javax.mail.internet.InternetAddress[] recipients,
EmailCustomizer replacerCallback,
Monitor monitor)
sends the email individually to each address. |
| Uses of Monitor in com.antelmann.util |
|---|
| Subclasses of Monitor in com.antelmann.util | |
|---|---|
class |
MonitorDelegator
The relevant calls to the monitor are delegated to a ProgressMonitor or JProgressBar. |
| Fields in com.antelmann.util declared as Monitor | |
|---|---|
static Monitor |
Debug.monitor
monitor is initialized with new Monitor() |
| Methods in com.antelmann.util with parameters of type Monitor | |
|---|---|
static URLClassLoader |
Misc.loadClasses(Monitor monitor,
File... dirOrJar)
preloads all classes found in the given directories and/or Jar files |
static URLClassLoader |
Misc.loadFromClassPath(Monitor mon,
String path)
preloads all classes found in the given path |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||