com.ge.grc.acuity.actions.learning
Class CreateDefault

java.lang.Object
  extended bycom.ge.grc.acuity.actions.learning.CreateDefault
Direct Known Subclasses:
GraphSeriesColorMapper

public class CreateDefault
extends java.lang.Object

Author:
200005201 TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static java.lang.String TOTALCOUNTKEYNAME
           
 
Constructor Summary
CreateDefault()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.RDFNode createAverageDefaultValue(AcuityController ac, com.hp.hpl.jena.ontology.Individual inst, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.ontology.Individual deflt, com.hp.hpl.jena.ontology.Individual ctxSubj, com.hp.hpl.jena.ontology.OntProperty ctxPred, java.lang.Boolean bRemember)
           
 com.hp.hpl.jena.rdf.model.RDFNode createAverageDefaultValue(AcuityController ac, java.lang.Object[] args)
           
 com.hp.hpl.jena.rdf.model.RDFNode createAverageDefaultValueWithAutoVerticalLayout(AcuityController ac, com.hp.hpl.jena.ontology.Individual inst, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.ontology.Individual deflt, com.hp.hpl.jena.ontology.Individual ctxSubj, com.hp.hpl.jena.ontology.OntProperty ctxPred, java.lang.Boolean bRemember)
           
 com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentDefaultValue(AcuityController ac, com.hp.hpl.jena.ontology.Individual inst, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.ontology.Individual deflt, com.hp.hpl.jena.ontology.Individual ctxSubj, com.hp.hpl.jena.ontology.OntProperty ctxPred, java.lang.Boolean bRemember)
           
 com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentDefaultValue(AcuityController ac, java.lang.Object[] args)
           
 com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentSeriesColor(AcuityController ac, com.hp.hpl.jena.ontology.Individual inst, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.ontology.Individual deflt, com.hp.hpl.jena.ontology.Individual ctxSubj, com.hp.hpl.jena.ontology.OntProperty ctxPred, java.lang.Boolean bRemember)
           
 com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentSeriesColor(AcuityController ac, java.lang.Object[] args)
           
 com.hp.hpl.jena.rdf.model.RDFNode createMostRecentDefaultValue(AcuityController ac, com.hp.hpl.jena.ontology.Individual inst, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.ontology.Individual deflt, com.hp.hpl.jena.ontology.Individual ctxSubj, com.hp.hpl.jena.ontology.OntProperty ctxPred, java.lang.Boolean bRemember)
           
 java.util.List createMultiValuedThresholdDefaultValue(AcuityController ac, com.hp.hpl.jena.ontology.Individual inst, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.ontology.Individual deflt, com.hp.hpl.jena.ontology.Individual ctxSubj, com.hp.hpl.jena.ontology.OntProperty ctxPred, java.lang.Boolean bRemember)
           
protected  com.hp.hpl.jena.rdf.model.RDFNode frequencyDefaultValueFromDistribution(AcuityController ac, com.hp.hpl.jena.ontology.OntProperty p, com.hp.hpl.jena.rdf.model.RDFNode defVal, float thresholdFreq, int minSampleSize, java.util.Hashtable distrib)
           
 java.util.Hashtable getFrequencyByIndividual(AcuityController ac, java.lang.Object dataSet)
          Call this method to execute the given RDQL query and return the frequency with which the each Individual identified with named variable in the results is found to be matched.
 java.util.Hashtable getHistogramByDirectClass(AcuityController ac, java.lang.Object o)
          Call this method to execute the given RDQL query and return a histogram of the number of times Individuals identified with named variable in the results belong to particular Classes.
 java.util.Hashtable getHistogramByIndividual(AcuityController ac, java.lang.Object o)
          Call this method to execute the given RDQL query and return a histogram of the number of times each Individual identified with named variable in the results occurs.
protected static java.lang.Boolean verifyArguments(java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOTALCOUNTKEYNAME

public static final java.lang.String TOTALCOUNTKEYNAME
See Also:
Constant Field Values
Constructor Detail

CreateDefault

public CreateDefault()
Method Detail

createAverageDefaultValue

public com.hp.hpl.jena.rdf.model.RDFNode createAverageDefaultValue(AcuityController ac,
                                                                   java.lang.Object[] args)
                                                            throws AcuityException
Throws:
AcuityException

createAverageDefaultValue

public com.hp.hpl.jena.rdf.model.RDFNode createAverageDefaultValue(AcuityController ac,
                                                                   com.hp.hpl.jena.ontology.Individual inst,
                                                                   com.hp.hpl.jena.ontology.OntProperty p,
                                                                   com.hp.hpl.jena.ontology.Individual deflt,
                                                                   com.hp.hpl.jena.ontology.Individual ctxSubj,
                                                                   com.hp.hpl.jena.ontology.OntProperty ctxPred,
                                                                   java.lang.Boolean bRemember)
                                                            throws AcuityException
Throws:
AcuityException

createAverageDefaultValueWithAutoVerticalLayout

public com.hp.hpl.jena.rdf.model.RDFNode createAverageDefaultValueWithAutoVerticalLayout(AcuityController ac,
                                                                                         com.hp.hpl.jena.ontology.Individual inst,
                                                                                         com.hp.hpl.jena.ontology.OntProperty p,
                                                                                         com.hp.hpl.jena.ontology.Individual deflt,
                                                                                         com.hp.hpl.jena.ontology.Individual ctxSubj,
                                                                                         com.hp.hpl.jena.ontology.OntProperty ctxPred,
                                                                                         java.lang.Boolean bRemember)
                                                                                  throws AcuityException
Throws:
AcuityException

createMostRecentDefaultValue

public com.hp.hpl.jena.rdf.model.RDFNode createMostRecentDefaultValue(AcuityController ac,
                                                                      com.hp.hpl.jena.ontology.Individual inst,
                                                                      com.hp.hpl.jena.ontology.OntProperty p,
                                                                      com.hp.hpl.jena.ontology.Individual deflt,
                                                                      com.hp.hpl.jena.ontology.Individual ctxSubj,
                                                                      com.hp.hpl.jena.ontology.OntProperty ctxPred,
                                                                      java.lang.Boolean bRemember)
                                                               throws AcuityException
Throws:
AcuityException

createMultiValuedThresholdDefaultValue

public java.util.List createMultiValuedThresholdDefaultValue(AcuityController ac,
                                                             com.hp.hpl.jena.ontology.Individual inst,
                                                             com.hp.hpl.jena.ontology.OntProperty p,
                                                             com.hp.hpl.jena.ontology.Individual deflt,
                                                             com.hp.hpl.jena.ontology.Individual ctxSubj,
                                                             com.hp.hpl.jena.ontology.OntProperty ctxPred,
                                                             java.lang.Boolean bRemember)
                                                      throws AcuityException
Throws:
AcuityException

createMostFrequentDefaultValue

public com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentDefaultValue(AcuityController ac,
                                                                        java.lang.Object[] args)
                                                                 throws AcuityException
Throws:
AcuityException

createMostFrequentDefaultValue

public com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentDefaultValue(AcuityController ac,
                                                                        com.hp.hpl.jena.ontology.Individual inst,
                                                                        com.hp.hpl.jena.ontology.OntProperty p,
                                                                        com.hp.hpl.jena.ontology.Individual deflt,
                                                                        com.hp.hpl.jena.ontology.Individual ctxSubj,
                                                                        com.hp.hpl.jena.ontology.OntProperty ctxPred,
                                                                        java.lang.Boolean bRemember)
                                                                 throws AcuityException
Throws:
AcuityException

verifyArguments

protected static java.lang.Boolean verifyArguments(java.lang.Object[] args)
                                            throws AcuityException
Parameters:
args -
Throws:
AcuityException

getHistogramByDirectClass

public java.util.Hashtable getHistogramByDirectClass(AcuityController ac,
                                                     java.lang.Object o)
                                              throws AcuityException
Call this method to execute the given RDQL query and return a histogram of the number of times Individuals identified with named variable in the results belong to particular Classes.

Returns:
- a Hashtable with the Classes and number of occurrences by Class
Throws:
AcuityException

getHistogramByIndividual

public java.util.Hashtable getHistogramByIndividual(AcuityController ac,
                                                    java.lang.Object o)
                                             throws AcuityException
Call this method to execute the given RDQL query and return a histogram of the number of times each Individual identified with named variable in the results occurs.

Returns:
- a Hashtable with the Classes and number of occurrences by Class
Throws:
AcuityException

getFrequencyByIndividual

public java.util.Hashtable getFrequencyByIndividual(AcuityController ac,
                                                    java.lang.Object dataSet)
                                             throws AcuityException
Call this method to execute the given RDQL query and return the frequency with which the each Individual identified with named variable in the results is found to be matched.

Returns:
- a Hashtable with the Individuals and number of occurrences, with "TotalCount" having the total number of occurences.
Throws:
AcuityException

createMostFrequentSeriesColor

public com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentSeriesColor(AcuityController ac,
                                                                       java.lang.Object[] args)
                                                                throws AcuityException
Throws:
AcuityException

createMostFrequentSeriesColor

public com.hp.hpl.jena.rdf.model.RDFNode createMostFrequentSeriesColor(AcuityController ac,
                                                                       com.hp.hpl.jena.ontology.Individual inst,
                                                                       com.hp.hpl.jena.ontology.OntProperty p,
                                                                       com.hp.hpl.jena.ontology.Individual deflt,
                                                                       com.hp.hpl.jena.ontology.Individual ctxSubj,
                                                                       com.hp.hpl.jena.ontology.OntProperty ctxPred,
                                                                       java.lang.Boolean bRemember)
                                                                throws AcuityException
Throws:
AcuityException

frequencyDefaultValueFromDistribution

protected com.hp.hpl.jena.rdf.model.RDFNode frequencyDefaultValueFromDistribution(AcuityController ac,
                                                                                  com.hp.hpl.jena.ontology.OntProperty p,
                                                                                  com.hp.hpl.jena.rdf.model.RDFNode defVal,
                                                                                  float thresholdFreq,
                                                                                  int minSampleSize,
                                                                                  java.util.Hashtable distrib)
                                                                           throws AcuityException,
                                                                                  java.lang.NumberFormatException
Parameters:
ac -
p -
defVal -
thresholdFreq -
minSampleSize -
distrib -
Returns:
Throws:
AcuityException
java.lang.NumberFormatException