Class AdmissibleMaximizer
java.lang.Object
org.tweetyproject.arg.adf.reasoner.sat.processor.AdmissibleMaximizer
- All Implemented Interfaces:
 AutoCloseable,InterpretationProcessor
Maximizes a given interpretation, but only counts admissible interpretations as larger.
- Author:
 - Mathias Hofer
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()process(Interpretation interpretation) static InterpretationProcessorrestricted(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping, Interpretation prefix) static InterpretationProcessorunrestricted(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping) voidupdateState(SatSolverState state, Interpretation maximal)  
- 
Method Details
- 
restricted
public static InterpretationProcessor restricted(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping, Interpretation prefix) - Parameters:
 stateSupplier- stateSupplieradf- adfmapping- mappingprefix- prefix- Returns:
 - InterpretationProcessor restricted
 
 - 
unrestricted
public static InterpretationProcessor unrestricted(Supplier<SatSolverState> stateSupplier, AbstractDialecticalFramework adf, PropositionalMapping mapping) - Parameters:
 stateSupplier- stateSupplieradf- adfmapping- mapping- Returns:
 - InterpretationProcessor unrestricted
 
 - 
process
- Specified by:
 processin interfaceInterpretationProcessor- Parameters:
 interpretation- interpretation- Returns:
 - Interpretation process
 
 - 
updateState
- Specified by:
 updateStatein interfaceInterpretationProcessor- Parameters:
 state- statemaximal- processed
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceInterpretationProcessor
 
 -