|
SandMark version 2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.Algorithm
The Algorithm class encapsulates common characteristics of all Sandmark algorithms. Most of this information is about the description of the algorithm, while some of the information is about the algorithm's interaction with other Sandmark algorithms (dependencies and interferrence).
Constructor Summary | |
Algorithm()
|
Method Summary | |
abstract java.lang.String |
getAlgHTML()
Gives a description of what the algorithm does. |
abstract java.lang.String |
getAlgURL()
Specifies the URL of where the user can find more information about the algorithm. |
java.lang.String |
getAuthor()
Specifies the author of the algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the email address author of the algorithm. |
abstract ConfigProperties |
getConfigProperties()
Gets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
java.lang.String |
getDescription()
Specifies what this algorithm does, briefly. |
abstract java.lang.String |
getLongName()
Specifies this algorithm's long name. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
RequisiteProperty[] |
getPostprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code after this algorithm is run. |
RequisiteProperty[] |
getPostrequisites()
Specifies a list of properties of algorithms that must be run on the target code after this algorithm is run. |
RequisiteProperty[] |
getPostsuggestions()
Specifies a list of properties of algorithms that should be run on the target code after this algorithm is run, but are not necessary. |
RequisiteProperty[] |
getPreprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code before this algorithm is run. |
RequisiteProperty[] |
getPrerequisites()
Specifies a list of properties of algorithms that must be run on the target code before this algorithm is run. |
RequisiteProperty[] |
getPresuggestions()
Specifies a list of properties of algorithms that should be run on the target code before this algorithm is run, but are not necessary. |
java.lang.String[] |
getReferences()
Specifies any references that discuss the ideas in this algorithm. |
abstract java.lang.String |
getShortName()
Specifies this algorithm's short name. |
abstract void |
setConfigProperties(ConfigProperties props)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Algorithm()
Method Detail |
public abstract java.lang.String getShortName()
public abstract java.lang.String getLongName()
public abstract java.lang.String getAlgHTML()
public abstract java.lang.String getAlgURL()
public abstract ConfigProperties getConfigProperties()
public abstract void setConfigProperties(ConfigProperties props)
props
- the parameters for this run of the algorithmpublic java.lang.String getAuthor()
public java.lang.String getAuthorEmail()
public java.lang.String getDescription()
public java.lang.String[] getReferences()
public ModificationProperty[] getMutations()
ModificationProperty
.
NOTE: This method will be tagged abstract
as
of 06/05/2002; at that time, all Sandmark algorithms should provide
their own implementation.
public RequisiteProperty[] getPrerequisites()
RequisiteProperty
for more details. This method should
only be overridden if the algorithm has prerequisites.
public RequisiteProperty[] getPostrequisites()
RequisiteProperty
for more details. This method should
only be overridden if the algorithm has postrequisites.
public RequisiteProperty[] getPresuggestions()
RequisiteProperty
for more details.
This method should only be overridden if the algorithm has a nonempty
set of pre-suggestions.
public RequisiteProperty[] getPostsuggestions()
RequisiteProperty
for more details.
This method should only be overridden if the algorithm has a nonempty
set of post-suggestions.
public RequisiteProperty[] getPreprohibited()
RequisiteProperty
for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
public RequisiteProperty[] getPostprohibited()
RequisiteProperty
for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |