|
ContextIntegrator
|
| Class Diagrams |

| Package Node Detail |
| Class Detail |
| Field Summary | |
|---|---|
private ContextIntegrator |
The Instance of ContextIntegrator Class |
private Communicator |
The Instance of Communicator Class |
| Constructor Summary | |
|---|---|
public |
CIRunner() Initializes a newly CIRunTester Object. |
| Method Summary | |
|---|---|
public static void |
main(String args) |
| Field Detail |
| Constructor Detail |
| Method Detail |
| Field Summary | |
|---|---|
public boolean |
The Value indicating if IntegratedContext is generated or not |
private HowFusion |
The Instance of HowFusion |
public IntegratedContext |
The Instance of IntegratedContext |
private WhatFusion |
The Instance of WhatFusion |
private WhenFusion |
The Instance of WhenFusion |
private WhereFusion |
The Instance of WhereFusion |
private WhoFusion |
The Instance of WhoFusion |
private WhyFusion |
The Instance of WhyFusion |
| Constructor Summary | |
|---|---|
public |
It initializes a newly ContextDM Object. |
| Method Summary | |
|---|---|
public synchronized void |
addHowContext(HowContext how) This method adds HowContext object. |
public synchronized void |
addWhatContext(SensorWhatContext what) This method adds WhatContext object. |
public synchronized void |
addWhenContext(WhenContext when) This method adds WhenContext object. |
public synchronized void |
addWhereContext(WhereContext where) This method adds WhereContext object. |
public synchronized void |
addWhoContext(WhoContext who) This method adds WhoContext object. |
public synchronized void |
addWhyContext(WhyContext why) This method adds WhyContext object. |
public synchronized void |
This method makes decision to generate IntegratedContext It checks whether the integration performs within a given interval. |
public boolean |
getFlag() This method represents whether IntegratedContext is generated or not. |
public synchronized IntegratedContext |
This method returns the decided IntegratedContext. |
public synchronized void |
This method removes all elements of 5W1H context objects. |
| Field Detail |
| Constructor Detail |
| Method Detail |
| Field Summary | |
|---|---|
private final static int |
The Instance of Integer Value for maximum array |
private ContextManager |
The Instance of ContextManager Class |
private ContextDM |
The Instance of ContextDM Class |
private ContextRepository |
The Instance of ContextRepository Class |
private FinalContext |
The Instance of FinalContext Class |
private IntegratedContext |
The Instance of IntegratedContext Class |
private InferenceEngine |
The Instance of InferenceEngine Class |
private Context5W1H |
The Instance of Context5W1H Class |
private RegistrationUser |
The Instance of RegistrationUser Class |
private Timer |
The Instance of Timer |
private Vector |
The Instance of the Vector for Final Context |
private Vector |
The Instance of the Vector for Preliminary Context according to each user |
| Constructor Summary | |
|---|---|
public |
It initializes a newly ContextIntegrator Object. |
| Method Summary | |
|---|---|
public void |
addContext(Context5W1H context) This method receives Context5W1H object from Self Configuration Manger. |
private void |
This method analyzes the classified context as each element of 5W1H and tranfers each component to ContextDM. |
private void |
This method just passes FinalContext to ContextManager. |
private void |
This method determines the interval of integration, and gets IntegratedContext. |
public void |
run() This method runs ContextIntegrator Class as a Thread. |
public void |
setReference(ContextManager CM) This method registers the ContextManager object. |
| Field Detail |
| Constructor Detail |
| Method Detail |
| Field Summary | |
|---|---|
private static String |
The Instance of String for File Name |
private boolean |
The Instance of boolean for checking the same identity |
private ArrayList |
The Instance of ArrayList for Integrated Context |
private IntegratedContext |
The Instance of IntegratedContext Class |
| Constructor Summary | |
|---|---|
public |
It initializes a newly ContextRepository Object. |
| Method Summary | |
|---|---|
public void |
addContext(IntegratedContext icontext) This method adds IntegratedContext object from ContextIntegrator. |
public void |
This method deletes all the saved data in a file (Initialization). |
public Context5W1H |
CompareConverter(Context5W1H inputcontext) This method compenstates the inputted context by using the recorded context in Context Repository. |
public IntegratedContext |
This method returns the obtained IntegratedContext object. |
private void |
RecoverObjectFromFile(IntegratedContext currentIC) This method reads the saved objects from a file. |
public void |
This method removes all elements of IntegratedContext objects. |
public String |
SearchObjectFromFile(String identity) This method searches the stored IntegratedContext object from a file. |
private void |
This method writes ArrayList object in a file. |
| Field Detail |
| Constructor Detail |
| Method Detail |
| Field Summary | |
|---|---|
private Vector |
The Instance of the Vector for HowContext |
private VotingMethod |
The Instance of VotingMethod |
private Vector |
The Instance of the Vector for SensorWhatContext |
| Constructor Summary | |
|---|---|
public |
It initializes a newly HowFusion Object. |
| Method Summary | |
|---|---|
public synchronized void |
addHowContext(HowContext how) |
public synchronized void |
addWhatContext(SensorWhatContext what) |
public HowContext |
|
public synchronized void |
|
| Field Detail |
| Constructor Detail |
| Method Detail |
| Field Summary | |
|---|---|
public static String |
The Instance of String for File Name |
public String |
The Instance of String for User Identity |
public Context5W1H |
The Instance of Context5W1H |
| Constructor Summary | |
|---|---|
public |
It initializes a newly IdentityFusion Object. |
| Method Summary | |
|---|---|
public void |
addContext(Context5W1H context) |
public void |
|
public void |
|
public String |
|
public void |
SaveIdentity(String ID, int xcenter, int ycenter, float orientation) |
| Field Detail |
| Constructor Detail |
| Method Detail |
| Field Summary | |
|---|---|
private String |
The Instance of String for a user's current status |
private boolean |
The Instance of boolean for selecting explicit/implicit control of heater |
private String |
The Instance of String for identity |
private boolean |
The Instance of boolean for selecting explicit/implicit control of light |
private String |
The Instance of String for a user's location |
private FlashService |
The Instance of FlashService Class |
private String |
The Instance of String array for parsing intention data as String piece |
private String |
The Instance of String for a user's previous status |
private Rete |
The Instance of Rete Algorithm in Jess |
private double |
The Instance of String for a user's scheduled duration |
private String |
The Instance of String for a user's scheduled event |
private String |
The Instance of String for a user's scheduled place |
| Constructor Summary | |
|---|---|
public |
It initializes a newly InferenceEngine Object. |
| Method Summary | |
|---|---|
public void |
addContext(IntegratedContext icontext) This method receives IntegratedContext object from ContextIntegrator. |
private void |
JessExecution(String rule_file, String fact_command) This method is ready for executing Jess Inference Engine. |
private void |
parseString(String line) This method is ready for parsing intention data as String piece. |
private void |
This method is ready for reading each user's schedule data. |