|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PolicyObject | |
---|---|
com.kpro.algorithm | |
com.kpro.dataobjects | |
com.kpro.datastorage | |
com.kpro.main | |
com.kpro.parser | |
com.kpro.test | |
com.kpro.ui |
Uses of PolicyObject in com.kpro.algorithm |
---|
Methods in com.kpro.algorithm that return PolicyObject | |
---|---|
private PolicyObject |
CBR.process(PolicyObject newPO)
Accepts a parsed PolicyObject that needs a action attached to it, and returns with the same object with an action in it. |
Methods in com.kpro.algorithm that return types with arguments of type PolicyObject | |
---|---|
abstract java.util.ArrayList<PolicyObject> |
ReductionAlgorithm.reduce(PolicyObject newPO)
the reduce call. |
java.util.ArrayList<PolicyObject> |
Reduction_KNN.reduce(PolicyObject newPO)
the method that returns the closest k objects to the parameter. |
Methods in com.kpro.algorithm with parameters of type PolicyObject | |
---|---|
abstract Action |
ConclusionAlgorithm.conclude(PolicyObject np,
java.lang.Iterable<PolicyObject> knearestns)
Provides an action recommendation for np based on the given set of objects |
Action |
Conclusion_Simple.conclude(PolicyObject np,
java.lang.Iterable<PolicyObject> releventSet)
makes a decision on the reduced set. |
private double |
Bitmapwithdata.getDistance(PolicyObject a,
PolicyObject b,
int time)
Returns the distance between two PolicyObjects, summing the minimum distance from B to A and then the distance from A to B. |
private double |
bitmapDistance.getDistance(PolicyObject a,
PolicyObject b,
int time)
the method for distance between PolicyObjects it runs twice in a recursive paten, 1st a/b then b/a |
double |
Bitmapwithdata.getTotalDistance(PolicyObject a,
PolicyObject b)
Initializes weights and returns the distance between two PolicyObjects. |
abstract double |
DistanceMetric.getTotalDistance(PolicyObject a,
PolicyObject b)
Calculates total distance between two policies |
double |
bitmapDistance.getTotalDistance(PolicyObject a,
PolicyObject b)
Initializes weights and returns the distance between two PolicyObjects. |
double |
bitmapDistanceWisOne.getTotalDistance(PolicyObject a,
PolicyObject b)
Initializes weights (to one) and returns the distance between two PolicyObjects. |
private PolicyObject |
CBR.process(PolicyObject newPO)
Accepts a parsed PolicyObject that needs a action attached to it, and returns with the same object with an action in it. |
abstract java.util.ArrayList<PolicyObject> |
ReductionAlgorithm.reduce(PolicyObject newPO)
the reduce call. |
java.util.ArrayList<PolicyObject> |
Reduction_KNN.reduce(PolicyObject newPO)
the method that returns the closest k objects to the parameter. |
void |
CBR.run(PolicyObject newpol)
runs through CBR with selected algorithms |
Method parameters in com.kpro.algorithm with type arguments of type PolicyObject | |
---|---|
abstract Action |
ConclusionAlgorithm.conclude(PolicyObject np,
java.lang.Iterable<PolicyObject> knearestns)
Provides an action recommendation for np based on the given set of objects |
Action |
Conclusion_Simple.conclude(PolicyObject np,
java.lang.Iterable<PolicyObject> releventSet)
makes a decision on the reduced set. |
Uses of PolicyObject in com.kpro.dataobjects |
---|
Methods in com.kpro.dataobjects that return PolicyObject | |
---|---|
PolicyObject |
PolicyObject.setAction(Action action)
|
Methods in com.kpro.dataobjects with parameters of type PolicyObject | |
---|---|
boolean |
PolicyObject.equalsCases(PolicyObject newpol)
A simple true/false check to see if policies are identical- if all the strings inside them are, then the policies are. |
Uses of PolicyObject in com.kpro.datastorage |
---|
Fields in com.kpro.datastorage with type parameters of type PolicyObject | |
---|---|
protected java.util.Collection<PolicyObject> |
PolicyDatabase.idb
|
Methods in com.kpro.datastorage that return types with arguments of type PolicyObject | |
---|---|
java.util.ArrayList<PolicyObject> |
PDatabase.getDomain(java.lang.String domain)
returns a list of all policies from a given domain. |
abstract java.util.ArrayList<PolicyObject> |
PolicyDatabase.getDomain(java.lang.String domain)
This class should return all policys for the given domain. |
java.util.Iterator<PolicyObject> |
PolicyDatabase.iterator()
provides an iterator over the database's PolicyObjects |
Methods in com.kpro.datastorage with parameters of type PolicyObject | |
---|---|
void |
PolicyDatabase.addPolicy(PolicyObject n)
Adds a PolicyObject to the database |
Action |
NRCouchdb.reqAct(PolicyObject a)
|
abstract Action |
NetworkR.reqAct(PolicyObject a)
accepts a PolicyObject, and returns the remote suggested action for it (the suggestion from the server). |
void |
NRCouchdb.saveObj(PolicyObject a)
Saves the policy object to the database |
abstract void |
NetworkR.saveObj(PolicyObject a)
sends a PolicyObject to the server. |
Uses of PolicyObject in com.kpro.main |
---|
Fields in com.kpro.main declared as PolicyObject | |
---|---|
private static PolicyObject |
PrivacyAdviser.po
|
private PolicyObject |
Gio.po
Network Resource (community advice database) |
Methods in com.kpro.main that return PolicyObject | |
---|---|
PolicyObject |
Gio.getPO()
|
PolicyObject |
Gio.userResponse(PolicyObject n)
Generates handles response. |
Methods in com.kpro.main with parameters of type PolicyObject | |
---|---|
PolicyObject |
Gio.userResponse(PolicyObject n)
Generates handles response. |
Uses of PolicyObject in com.kpro.parser |
---|
Fields in com.kpro.parser declared as PolicyObject | |
---|---|
private PolicyObject |
P3PParser.policy
|
Methods in com.kpro.parser that return PolicyObject | |
---|---|
PolicyObject |
P3PParser.parse(java.lang.String p3p)
Parses a P3P Policy by URL |
Uses of PolicyObject in com.kpro.test |
---|
Fields in com.kpro.test declared as PolicyObject | |
---|---|
private PolicyObject |
LearnAlgSimplerTest.PO
|
private PolicyObject |
testBitmap.POA
|
private PolicyObject |
testBitmap.POB
|
private PolicyObject |
testConclusion_Simple.target
|
private PolicyObject |
testReduction_KNN.target
|
Fields in com.kpro.test with type parameters of type PolicyObject | |
---|---|
private java.util.ArrayList<PolicyObject> |
testConclusion_Simple.Set
|
Uses of PolicyObject in com.kpro.ui |
---|
Methods in com.kpro.ui that return PolicyObject | |
---|---|
abstract PolicyObject |
UserIO.userResponse(PolicyObject n)
Displays recommended action for policyObject, and returns used accept verion- same thing if no change, or altered if user disagrees. |
PolicyObject |
UserIO_Simple.userResponse(PolicyObject n)
A super simple, static user display of the result on command line. |
PolicyObject |
PrivacyAdvisorGUI.userResponse(PolicyObject n)
Shows recommendation and prompts for user action Needs improvement to allow for giving reasons as for why recommendation is not accepted. |
Methods in com.kpro.ui that return types with arguments of type PolicyObject | |
---|---|
abstract java.util.ArrayList<PolicyObject> |
UserIO.loadHistory()
Deprecated. |
java.util.ArrayList<PolicyObject> |
UserIO_Simple.loadHistory()
does nothing |
java.util.ArrayList<PolicyObject> |
PrivacyAdvisorGUI.loadHistory()
|
Methods in com.kpro.ui with parameters of type PolicyObject | |
---|---|
private void |
PrivacyAdvisorGUI.buildTree(javax.swing.tree.DefaultMutableTreeNode root,
PolicyObject po)
Builds the tree view of the policy to be classified. |
abstract PolicyObject |
UserIO.userResponse(PolicyObject n)
Displays recommended action for policyObject, and returns used accept verion- same thing if no change, or altered if user disagrees. |
PolicyObject |
UserIO_Simple.userResponse(PolicyObject n)
A super simple, static user display of the result on command line. |
PolicyObject |
PrivacyAdvisorGUI.userResponse(PolicyObject n)
Shows recommendation and prompts for user action Needs improvement to allow for giving reasons as for why recommendation is not accepted. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |