public class OneStepProofMacro extends StrategyProofMacro
Modifier and Type | Class and Description |
---|---|
private static class |
OneStepProofMacro.OneStepStrategy
Strategy with counter, s.t. only one rule is applied
|
ProofMacro.ProgressBarListener
Constructor and Description |
---|
OneStepProofMacro() |
Modifier and Type | Method and Description |
---|---|
protected Strategy |
createStrategy(Proof proof,
PosInOccurrence posInOcc) |
java.lang.String |
getCategory()
Gets the category of this macro.
|
java.lang.String |
getDescription()
Gets the description of this macro.
|
java.lang.String |
getName()
Gets the name of this macro.
|
java.lang.String |
getScriptCommandName()
Gets a unique short name for this macro that can be used in proof
scripts.
|
applyTo, canApplyTo, doPostProcessing
applyTo, canApplyTo, getMaxSteps, hasParameter, resetParams, setParameter
public java.lang.String getName()
ProofMacro
null
constant stringpublic java.lang.String getScriptCommandName()
AbstractProofMacro
null
is returned, the macro cannot be addressed from
within scripts.
By default, proof macros do not support scripts, thus null
is returned.getScriptCommandName
in interface ProofMacro
getScriptCommandName
in class AbstractProofMacro
null
if not supported, or a non-null
constant string as the short namepublic java.lang.String getCategory()
ProofMacro
null
if no submenu is to be created.null
public java.lang.String getDescription()
ProofMacro
null
constant stringprotected Strategy createStrategy(Proof proof, PosInOccurrence posInOcc)
createStrategy
in class StrategyProofMacro