public class AutoPilotPrepareProofMacro extends StrategyProofMacro
Modifier and Type | Class and Description |
---|---|
private static class |
AutoPilotPrepareProofMacro.AutoPilotStrategy |
ProofMacro.ProgressBarListener
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
ADMITTED_RULES |
private static java.util.Set<java.lang.String> |
ADMITTED_RULES_SET |
private static Name |
NON_HUMAN_INTERACTION_RULESET |
Constructor and Description |
---|
AutoPilotPrepareProofMacro() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.Set<java.lang.String> |
asSet(java.lang.String[] strings) |
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.
|
private static boolean |
hasModality(Node node) |
private static boolean |
hasModality(Term term) |
private static boolean |
isInRuleSet(Rule rule,
Name ruleSetName) |
private static boolean |
isNonHumanInteractionTagged(Rule rule) |
applyTo, canApplyTo, doPostProcessing
applyTo, canApplyTo, getMaxSteps, hasParameter, resetParams, setParameter
private static final java.lang.String[] ADMITTED_RULES
private static final java.util.Set<java.lang.String> ADMITTED_RULES_SET
private static final Name NON_HUMAN_INTERACTION_RULESET
public java.lang.String getName()
ProofMacro
null
constant stringpublic java.lang.String getCategory()
ProofMacro
null
if no submenu is to be created.null
public java.lang.String getDescription()
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 nameprotected static java.util.Set<java.lang.String> asSet(java.lang.String[] strings)
private static boolean hasModality(Node node)
private static boolean hasModality(Term term)
private static boolean isNonHumanInteractionTagged(Rule rule)
protected Strategy createStrategy(Proof proof, PosInOccurrence posInOcc)
createStrategy
in class StrategyProofMacro