cad.simcad.pathfinding.astar
Class AlgoProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--cad.simcad.pathfinding.astar.AlgoProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class AlgoProperties
extends java.util.Properties

This classs should be instantiated once

Version:
1.0
Author:
Charles-Philip Bentley
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
AlgoProperties()
          Creates new AlgoProperties
AlgoProperties(java.util.Properties p)
          Creates new AlgoProperties
 
Method Summary
 void enableHeuristic()
           
 java.util.Vector getAlgoTypeVector()
           
 boolean isTrue(java.lang.String s)
          Method of convinience
 void setDefaultProperties()
           
 void setFastest()
           
 void setHeurFactor(int i)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlgoProperties

public AlgoProperties()
Creates new AlgoProperties


AlgoProperties

public AlgoProperties(java.util.Properties p)
Creates new AlgoProperties

Method Detail

setFastest

public void setFastest()

setDefaultProperties

public void setDefaultProperties()

enableHeuristic

public void enableHeuristic()

setHeurFactor

public void setHeurFactor(int i)

getAlgoTypeVector

public java.util.Vector getAlgoTypeVector()

isTrue

public boolean isTrue(java.lang.String s)
Method of convinience

Post:
return true if Property s is "true"

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be