kaos.policy.deconfliction
Class PolicyConflictHandler
java.lang.Object
kaos.policy.deconfliction.PolicyConflictHandler
public class PolicyConflictHandler
- extends java.lang.Object
This class responsible for finding conflict in policies.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyConflictHandler
public PolicyConflictHandler()
throws java.lang.Exception
- Throws:
java.lang.Exception
PolicyConflictHandler
public PolicyConflictHandler(OntologyRepository _context)
throws java.lang.Exception
- Throws:
java.lang.Exception
deconflictPolicies
public java.util.Collection deconflictPolicies(java.lang.String policySet)
throws ReasoningException,
java.io.IOException
- Throws:
ReasoningException
java.io.IOException
pairOfPoliciesConflicted
public boolean pairOfPoliciesConflicted(PolicyEntry _policy1,
PolicyEntry _policy2)
throws ReasoningException,
java.io.IOException
- Throws:
ReasoningException
java.io.IOException
pairOfPoliciesConflictedDoubleCheck
public boolean pairOfPoliciesConflictedDoubleCheck(KAoSPolicyBuilder _policy1,
KAoSPolicyBuilder _policy2)
throws ReasoningException,
java.io.IOException
- Throws:
ReasoningException
java.io.IOException
unloadPolicyKB
public void unloadPolicyKB()
modalityPolicyConflict
protected boolean modalityPolicyConflict(java.lang.String p1Type,
java.lang.String p2Type)