Fri Jan 27 19:44:48 KST 2006
Class Diagrams
Subpackages
Classes
Class Diagram <default>
Package Nodes
Class Nodes
java.lang.Object
|
+--java.lang.Thread
|
public class CIRunner
Extends:
java.lang.Thread
This class is ready to test ContextIntegrator with Communicator.
It registers the instance of ContextIntegrator and Communicator.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of ContextIntegrator Class |
private Communicator |
The Instance of Communicator Class |
| Constructor Summary |
public |
Initializes a newly CIRunTester Object.
|
| Method Summary |
public static void |
|
The Instance of ContextIntegrator Class
private Communicator m_Comm
The Instance of Communicator Class
public CIRunner()
Initializes a newly CIRunTester Object.
public static void main(String args)
public class ContextDM
This class is ready to make a decision for each element of IntegratedContext.
It registers the instance of IntegratedContext.
It registers the instance of WhoFusion, WhatFusion, WhereFusion,
WhenFusion, HowFusion, and WhyFusion.
It makes IntegratedContext by decision making process of each 5W1H context.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
public boolean |
The Value indicating if IntegratedContext is generated or not |
|
The Instance of HowFusion |
public IntegratedContext |
The Instance of IntegratedContext |
|
The Instance of WhatFusion |
|
The Instance of WhenFusion |
|
The Instance of WhereFusion |
|
The Instance of WhoFusion |
|
The Instance of WhyFusion |
| Constructor Summary |
public |
It initializes a newly ContextDM Object.
|
| Method Summary |
public synchronized void |
This method adds HowContext object.
|
public synchronized void |
This method adds WhatContext object.
|
public synchronized void |
This method adds WhenContext object.
|
public synchronized void |
This method adds WhereContext object.
|
public synchronized void |
This method adds WhoContext object.
|
public synchronized void |
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 |
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.
|
public boolean m_FlagIntegratedContext = false
The Value indicating if IntegratedContext is generated or not
The Instance of HowFusion
public IntegratedContext m_IntegratedContext
The Instance of IntegratedContext
The Instance of WhatFusion
The Instance of WhenFusion
The Instance of WhereFusion
The Instance of WhoFusion
The Instance of WhyFusion
public ContextDM()
It initializes a newly ContextDM Object.
It generates the instances of IntegratedContext.
It also generates the instances of Classes for 5W1H fusion(Who, What, Where, When, How, and Why).
public synchronized void addHowContext(HowContext how)
This method adds HowContext object.
It stores HowContext object to the Vector of HowFusion.
public synchronized void addWhatContext(SensorWhatContext what)
This method adds WhatContext object.
It stores SensorWhatContext object to the Vector of WhatFusion.
public synchronized void addWhenContext(WhenContext when)
This method adds WhenContext object.
It stores WhenContext object to the Vector of WhenFusion.
public synchronized void addWhereContext(WhereContext where)
This method adds WhereContext object.
It stores WhereContext object to the Vector of WhereFusion.
public synchronized void addWhoContext(WhoContext who)
This method adds WhoContext object.
It stores WhoContext object to the Vector of WhoFusion.
public synchronized void addWhyContext(WhyContext why)
This method adds WhyContext object.
It stores WhyContext object to the Vector of WhyFusion.
public synchronized void DecisionMaking()
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.
Returns:
a flag about the state of the integration.
public synchronized IntegratedContext getIntegratedContext()
This method returns the decided IntegratedContext.
It gets IntegratedContext.
Returns:
IntegratedContext, if only if decision making occurs,
null, otherwise.
public synchronized void removeAllElements()
This method removes all elements of 5W1H context objects.
It removes all 5W1H context objects in the Vectors.
java.lang.Object
|
+--java.lang.Thread
|
public class ContextIntegrator
Extends:
java.lang.Thread
This class is ready to integrate the inputted context as the form of IntegratedContext.
It registers the instance of IntegratedContext, ContextDM and so on.
It generates IntegratedContext, and transfers IntegratedContext to ContextManager.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
private final static int |
The Instance of Integer Value for maximum array |
private ContextManager |
The Instance of ContextManager Class |
|
The Instance of ContextDM Class |
|
The Instance of ContextRepository Class |
private FinalContext |
The Instance of FinalContext Class |
private IntegratedContext |
The Instance of IntegratedContext Class |
|
The Instance of InferenceEngine Class |
private Context5W1H |
The Instance of Context5W1H Class |
|
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 |
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 |
This method runs ContextIntegrator Class as a Thread.
|
public void |
This method registers the ContextManager object. |
private final static int MAX_VALUE = 256
The Instance of Integer Value for maximum array
private ContextManager m_CManager
The Instance of ContextManager Class
The Instance of ContextDM Class
The Instance of ContextRepository Class
private FinalContext m_FContext
The Instance of FinalContext Class
private IntegratedContext m_IContext
The Instance of IntegratedContext Class
The Instance of InferenceEngine Class
private Context5W1H m_PContextOther
The Instance of Context5W1H Class
The Instance of RegistrationUser Class
private Timer m_Timer
The Instance of Timer
private Vector m_VFContext
The Instance of the Vector for Final Context
private Vector m_VPContexts
The Instance of the Vector for Preliminary Context according to each user
public ContextIntegrator()
It initializes a newly ContextIntegrator Object.
It generates some instances.
public void addContext(Context5W1H context)
This method receives Context5W1H object from Self Configuration Manger.
It classifies whether ContextType is PRIMINARYCONTEXT or FINALCONTEXT.
And, it adds the classifed context to the Vector.
Parameters:
context Context5W1H object received from Self Configuration Manger
private void analyzeContext()
This method analyzes the classified context as each element of 5W1H
and tranfers each component to ContextDM.
It generates the instance of PreliminaryContext and SensorWhatContext.
It transfers each element of PreliminaryContext to ContextDM Class.
And then, it calls fusePreliminaryContext().
private void fuseFinalContext()
This method just passes FinalContext to ContextManager.
Will be updated!
private void fusePreliminaryContext()
This method determines the interval of integration, and gets IntegratedContext.
It performs decision making for a given interval.
It saves IntegratedContext to Context Repository and transfers it to Inference Engine.
public void run()
This method runs ContextIntegrator Class as a Thread.
It calls the method analyzeContext() as a thread.
public void setReference(ContextManager CM)
This method registers the ContextManager object.
public class ContextRepository
This class is ready to save the result of IntegratedContext.
It registers the instance of the vector for IntegratedContext.
It saves and retreives IntegratedContexts.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| 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 |
|
public void |
This method deletes all the saved data in a file (Initialization).
|
public Context5W1H |
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 |
This method reads the saved objects from a file.
|
public void |
This method removes all elements of IntegratedContext objects.
|
public String |
This method searches the stored IntegratedContext object from a file.
|
private void |
This method writes ArrayList object in a file.
|
private static String FILE_NAME = "Resources/repository/CI_Repository.ci"
The Instance of String for File Name
private boolean isSameID
The Instance of boolean for checking the same identity
private ArrayList m_AIContext
The Instance of ArrayList for Integrated Context
private IntegratedContext m_IContext
The Instance of IntegratedContext Class
public ContextRepository()
It initializes a newly ContextRepository Object.
It generates the instances of the vector for IntegratedContext.
public void addContext(IntegratedContext icontext)
This method adds IntegratedContext object from ContextIntegrator.
It saves Integrated Contexts to a file.
Parameters:
icontext IntegratedContext object
public void CleanFile()
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.
Parameters:
inputcontext Context5W1H object from ContextIntegrator class
public IntegratedContext getICHistory()
This method returns the obtained IntegratedContext object.
private void RecoverObjectFromFile(IntegratedContext currentIC)
This method reads the saved objects from a file.
It adds the recorded Integrated Contexts to m_AIContext ArryList.
Parameters:
currentIC the recorded IntegratedContext object
public void removeAllElements()
This method removes all elements of IntegratedContext objects.
It removes all integrated context objects in the Vectors.
public String SearchObjectFromFile(String identity)
This method searches the stored IntegratedContext object from a file.
Parameters:
identity String: the user's identity
private void WriteObjectToFile()
This method writes ArrayList object in a file.
It saves Integrated Contexts to a file.
public class HowFusion
This class is ready to make a decision for IntegratedHowContext.
It registers the instance of the Vector for HowContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
private Vector |
The Instance of the Vector for HowContext |
|
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 |
|
public synchronized void |
|
public HowContext |
|
public synchronized void |
|
private Vector m_VHow
The Instance of the Vector for HowContext
The Instance of VotingMethod
private Vector m_VWhat
The Instance of the Vector for SensorWhatContext
public HowFusion()
It initializes a newly HowFusion Object.
public synchronized void addHowContext(HowContext how)
public synchronized void addWhatContext(SensorWhatContext what)
public HowContext IntegrateHowContext()
public synchronized void removeAllElements()
java.lang.Object
|
+--java.lang.Thread
|
public class IdentityFusion
Extends:
java.lang.Thread
This class is ready to make a decision for Identity.
It registers the instance of of the Vector for WhoContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| 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 |
|
public void |
|
public void |
|
public String |
|
public void |
SaveIdentity(String ID, int xcenter, int ycenter, float orientation) |
public static String FILE_NAME = "Resources/repository/CI_Location_ID.cr"
The Instance of String for File Name
public String FusedIdentity
The Instance of String for User Identity
public Context5W1H m_PContext
The Instance of Context5W1H
public IdentityFusion()
It initializes a newly IdentityFusion Object.
It generates the instances of FinalContext,ContextDM and ContextManager.
It also generates the instances of the Vectors for Preliminary Context and Final Context.
public void addContext(Context5W1H context)
public void CheckSensorID()
public void CleanFile()
public String ReadIdentity()
public void SaveIdentity(String ID, int xcenter, int ycenter, float orientation)
public class InferenceEngine
This class is ready to infer users' intention.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| 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 |
|
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 |
This method receives IntegratedContext object from ContextIntegrator.
|
private void |
This method is ready for executing Jess Inference Engine. |
private void |
This method is ready for parsing intention data as String piece. |
private void |
This method is ready for reading each user's schedule data. |
private void |
This method receives IntegratedContext object from addContext method.
|
private String cur_status
The Instance of String for a user's current status
private boolean heating_flag
The Instance of boolean for selecting explicit/implicit control of heater
private String identity
The Instance of String for identity
private boolean lighting_flag
The Instance of boolean for selecting explicit/implicit control of light
private String location
The Instance of String for a user's location
The Instance of FlashService Class
private String parseResult
The Instance of String array for parsing intention data as String piece
private String pre_status
The Instance of String for a user's previous status
private Rete rete
The Instance of Rete Algorithm in Jess
private double schedule_duration
The Instance of String for a user's scheduled duration
private String schedule_event
The Instance of String for a user's scheduled event
private String schedule_place
The Instance of String for a user's scheduled place
public InferenceEngine()
It initializes a newly InferenceEngine Object.
public void addContext(IntegratedContext icontext)
This method receives IntegratedContext object from ContextIntegrator.
It parses the integrated context and applies it to Jess Inference Engine according to each characteristic.
Also, it saves the user's schedule data to a file.
Parameters:
icontext IntegratedContext object received from ContextIntegrator
private void JessExecution(String rule_file, String fact_command)
This method is ready for executing Jess Inference Engine.
Parameters:
rule_file String object: the name of the rule file
fact_command String object: the input of facts
private void parseString(String line)
This method is ready for parsing intention data as String piece.
Parameters:
line String object: the input of intention data
private void ReadSchedule()
This method is ready for reading each user's schedule data.
private void ThirdInference(IntegratedContext icontext)
This method receives IntegratedContext object from addContext method.
It is ready for higher(3rd) level inference (Behavior, intention).
Also, it uses Jess Inference Engine.
Parameters:
icontext IntegratedContext object received from addContext method
java.lang.Object
|
+--java.lang.Thread
|
public class RegistrationUser
Extends:
java.lang.Thread
This class is ready to register a user.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
private static String |
The Instance of String for File Name |
private Context5W1H |
The Instance of Context5W1H Class |
public Vector |
The Instance of the Vector for Registered Users |
private String |
The Instance of String for User Identity |
| Constructor Summary |
public |
It initializes a newly IdentityFusion Object.
|
| Method Summary |
public void |
This method receives Context5W1H object from ContextIntegrator.
|
public void |
This method deletes all the saved data in a file (Initialization).
|
public void |
This method reads the saved identity data in a file.
|
private void |
This method saves the user's identity into a file.
|
private static String FILE_NAME = "Resources/repository/CI_RegistrationUser_ID.ci"
The Instance of String for File Name
private Context5W1H m_PContext
The Instance of Context5W1H Class
public Vector m_VUser
The Instance of the Vector for Registered Users
private String user
The Instance of String for User Identity
public RegistrationUser()
It initializes a newly IdentityFusion Object.
public void addContext(Context5W1H context)
This method receives Context5W1H object from ContextIntegrator.
It adds the user's identity as Context5W1H type.
Parameters:
context Context5W1H object received from ContextIntegrator
public void CleanFile()
This method deletes all the saved data in a file (Initialization).
public void ReadIdentity()
This method reads the saved identity data in a file.
private void SaveIdentity(String user)
This method saves the user's identity into a file.
Parameters:
user String object: context.mWho.Identity
java.lang.Object
|
+--java.lang.Thread
|
public class FlashService
Extends:
java.lang.Thread
This class is ready to connect between Flash Object and Inference Result.
It registers the instance of InferenceEngine.
It executes Flash with Inference.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of InterpretIntention Class |
private Runtime |
The Instance of Runtime Object |
private String |
The Instance of String for the rest user's activity |
private ServerSocket |
The Instance of ServerSocket Object |
private Socket |
The Instance of Socket Object |
| Constructor Summary |
public |
It initializes a newly FlashService Object.
|
| Method Summary |
public void |
This method receives Intention of WhyContext object from InferenceEngine.
|
private void |
This method opens Server socket and connects clients.
|
public static String |
This method gets messages from Flash (ubiBuilding Simulator) through socket.
|
public void |
Runs the Class FlashService as a Thread.
|
private void |
send(String intention_input) This method sends the user's intention to Flash (ubiBuilding Simulator) through socket.
|
The Instance of InterpretIntention Class
private Runtime m_runtime
The Instance of Runtime Object
private String RestUserActivity
The Instance of String for the rest user's activity
private ServerSocket serverSocket
The Instance of ServerSocket Object
private Socket TCPSocket
The Instance of Socket Object
public FlashService()
It initializes a newly FlashService Object.
public void addIntention(String intention)
This method receives Intention of WhyContext object from InferenceEngine.
Parameters:
intention WhyContext.Intention object
private void connect()
This method opens Server socket and connects clients.
public static String getMessage(BufferedReader br)
This method gets messages from Flash (ubiBuilding Simulator) through socket.
Parameters:
br BufferedReader object obtained from Flash client
public void run()
Runs the Class FlashService as a Thread.
private void send(String intention_input)
This method sends the user's intention to Flash (ubiBuilding Simulator) through socket.
Parameters:
intention_input String: Intention from addIntention method
public class InterpretIntention
This class is ready to manage Intention data.
It registers the instance of of FlashService
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
private static String |
The Instance of String for File Name |
private int |
The Instance of Integer for the number of person in a room |
public String |
The Instance of String for previous intention data |
private boolean |
The Instance of boolean for checking the same user |
| Constructor Summary |
public |
It initializes a newly InterpretIntention Object.
|
| Method Summary |
public void |
This method receives the user's intention from FlashService Class.
|
public void |
This method deletes all the saved data in a file (Initialization).
|
public int |
This method gets the number of persons in a room from a file.
|
public String |
This method gets one user's previous activity from a file (if previous No_Of_Person = 1).
|
public String |
This method gets second user's previous activity from a file (if previous No_Of_Person = 2).
|
private void |
This method receives the user's intention from addIntention method.
|
private static String FILE_NAME = "Resources/repository/CI_Intention.ci"
The Instance of String for File Name
private int No_Of_Person
The Instance of Integer for the number of person in a room
public String preIntention
The Instance of String for previous intention data
private boolean SameUser = false
The Instance of boolean for checking the same user
public InterpretIntention()
It initializes a newly InterpretIntention Object.
public void addIntention(String intention)
This method receives the user's intention from FlashService Class.
Parameters:
intention String: WhyContext.Intention from FlashService Class
public void CleanFile()
This method deletes all the saved data in a file (Initialization).
public int getNoOfPerson(String intention)
This method gets the number of persons in a room from a file.
Parameters:
intention String: the input of intention from FlashService Class
public String getPreActivity1(String location)
This method gets one user's previous activity from a file (if previous No_Of_Person = 1).
Parameters:
location String: the input of the previous location from FlashService Class
public String getPreActivity2(String id, String location)
This method gets second user's previous activity from a file (if previous No_Of_Person = 2).
Parameters:
id String: the input of the previous identity from FlashService Class
location String: the input of the previous location from FlashService Class
private void WriteIntention(String intention)
This method receives the user's intention from addIntention method.
Parameters:
intention String: Intention from addIntention method
public class VotingMethod
This class is ready to elect a leader among the inputted contexts.
It elects the context leader by using the spedified context key.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
private String |
The Value indicating a context key |
private Vector |
The Instance of the Vector for a context buffer |
| Constructor Summary |
public |
It initializes a newly VotingMethod Object.
|
| Method Summary |
public Object |
It elects the context leader in a given context buffer.
|
private String m_ContextKey
The Value indicating a context key
private Vector m_VContextBuffer
The Instance of the Vector for a context buffer
public VotingMethod(Vector temp, String contextkey)
It initializes a newly VotingMethod Object.
Parameters:
temp the Vector to be used as a context buffer
context the String to be used as a context key
public Object election()
It elects the context leader in a given context buffer.
It uses a context key for an election.
It expresses the result as the form of Object.
Returns:
the result of an election
public class WhatFusion
This class is ready to make a decision for IntegratedWhatContext.
It registers the instance of the Vector for SensorWhatContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of VotingMethod |
private Vector |
The Instance of the Vector for SensorWhatContext |
| Constructor Summary |
public |
It initializes a newly WhatFusion Object.
|
| Method Summary |
public synchronized void |
|
public SensorWhatContext |
|
public synchronized void |
|
The Instance of VotingMethod
private Vector m_VWhat
The Instance of the Vector for SensorWhatContext
public WhatFusion()
It initializes a newly WhatFusion Object.
public synchronized void addWhatContext(SensorWhatContext what)
public SensorWhatContext IntegrateWhatContext()
public synchronized void removeAllElements()
public class WhenFusion
This class is ready to make a decision for IntegratedWhenContext.
It registers the instance of the Vector for WhenContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of VotingMethod |
private Vector |
The Instance of the Vector for WhenContext |
| Constructor Summary |
public |
It initializes a newly WhenFusion Object.
|
| Method Summary |
public synchronized void |
|
public WhenContext |
|
public synchronized void |
|
The Instance of VotingMethod
private Vector m_VWhen
The Instance of the Vector for WhenContext
public WhenFusion()
It initializes a newly WhenFusion Object.
public synchronized void addWhenContext(WhenContext when)
public WhenContext IntegrateWhenContext()
public synchronized void removeAllElements()
public class WhereFusion
This class is ready to make a decision for IntegratedWhereContext.
It registers the instance of the Vector for WhereContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of VotingMethod |
private Vector |
The Instance of the Vector for SensorWhatContext |
private Vector |
The Instance of the Vector for WhereContext |
| Constructor Summary |
public |
It initializes a newly WhereFusion Object.
|
| Method Summary |
public synchronized void |
|
public synchronized void |
|
public WhereContext |
|
public synchronized void |
|
The Instance of VotingMethod
private Vector m_VWhat
The Instance of the Vector for SensorWhatContext
private Vector m_VWhere
The Instance of the Vector for WhereContext
public WhereFusion()
It initializes a newly WhereFusion Object.
public synchronized void addWhatContext(SensorWhatContext what)
public synchronized void addWhereContext(WhereContext where)
public WhereContext IntegrateWhereContext()
public synchronized void removeAllElements()
public class WhoFusion
This class is ready to make a decision for IntegratedWhoContext.
It registers the instance of of the Vector for WhoContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of VotingMethod |
private Vector |
The Instance of the Vector for WhoContext |
| Constructor Summary |
public |
It initializes a newly WhoFusion Object.
|
| Method Summary |
public synchronized void |
|
public synchronized void |
|
public WhoContext |
|
public synchronized void |
|
The Instance of VotingMethod
private Vector m_VWho
The Instance of the Vector for WhoContext
public WhoFusion()
It initializes a newly WhoFusion Object.
public synchronized void addWhereContext(WhereContext where)
public synchronized void addWhoContext(WhoContext who)
public WhoContext IntegrateWhoContext()
public synchronized void removeAllElements()
public class WhyFusion
This class is ready to make a decision for IntegratedWhyContext.
It registers the instance of the Vector for WhyContext
and the instance of VotingMethod.
Since:
J2SDK1.5
Version:
ubi-UCAM 2.0
Author:
Yoosoo Oh
| Field Summary |
|
The Instance of VotingMethod |
private Vector |
The Instance of the Vector for HowContext |
private Vector |
The Instance of the Vector for SensorWhatContext |
private Vector |
The Instance of the Vector for WhyContext |
| Constructor Summary |
public |
It initializes a newly WhyFusion Object.
|
| Method Summary |
public synchronized void |
|
public synchronized void |
|
public synchronized void |
|
private int |
ExtractStressLevel(String PPG_HRV_HF_Power, String PPG_HRV_LF_Power, String PPG_norm_HR_Mean, String PPG_norm_HR_Variance) |
public WhyContext |
|
public synchronized void |
|
private String |
|
private String |
|
The Instance of VotingMethod
private Vector m_VStressHow
The Instance of the Vector for HowContext
private Vector m_VStressWhat
The Instance of the Vector for SensorWhatContext
private Vector m_VWhy
The Instance of the Vector for WhyContext
public WhyFusion()
It initializes a newly WhyFusion Object.
public synchronized void addHowContext(HowContext how)
public synchronized void addWhatContext(SensorWhatContext what)
public synchronized void addWhyContext(WhyContext why)
private int ExtractStressLevel(String PPG_HRV_HF_Power, String PPG_HRV_LF_Power, String PPG_norm_HR_Mean, String PPG_norm_HR_Variance)
public WhyContext IntegrateWhyContext()
public synchronized void removeAllElements()
private String StressThreshold(int LowThreshold, double valueHow, int HighThreshold)
private String StressThreshold(int LowThreshold, int valueHow, int HighThreshold)
Class Diagrams
Subpackages
Class Diagram Resources
Package Nodes
Package Resources.knowledgebase
|
Class Diagrams
Subpackages
Class Diagram knowledgebase
Package Nodes
Package Resources.knowledgebase.facts
|
Class Diagrams
Class Diagram facts
Package Resources.knowledgebase.rules
|
Class Diagrams
Class Diagram rules
Package Resources.repository
|
Class Diagrams
Subpackages
Class Diagram repository
Package Nodes
Package Resources.repository.users
|
Class Diagrams
Class Diagram users