public class UserProfileConstructor
extends java.lang.Object
Constructor and Description |
---|
UserProfileConstructor()
Instantiates a new user profile constructor.
|
UserProfileConstructor(java.lang.String ID,
java.util.ArrayList<ProfileConcept> pos,
java.util.ArrayList<ProfileConcept> neg)
Constructor of the class, used to instantiate a new user profile.
|
Modifier and Type | Method and Description |
---|---|
void |
constructProfile(lifr.logic.firstorder.KnowledgeBase ontokb)
Construction method that creates a new file (or overwrites an existing
one) which will contain the user profile rule in the KRSS format.
|
void |
constructProfile(lifr.logic.firstorder.KnowledgeBase ontokb,
java.lang.Double lamda)
Construction method that creates a new file (or overwrites an existing
one) which will contain the user profile rule in the KRSS format.
|
public UserProfileConstructor()
public UserProfileConstructor(java.lang.String ID, java.util.ArrayList<ProfileConcept> pos, java.util.ArrayList<ProfileConcept> neg)
ID
- the username.pos
- the profile concepts derived from positive transactionsneg
- the profile concepts derived from negative transactionspublic void constructProfile(lifr.logic.firstorder.KnowledgeBase ontokb)
ontokb
- the ontology.public void constructProfile(lifr.logic.firstorder.KnowledgeBase ontokb, java.lang.Double lamda)
ontokb
- the ontology.lamda
- the lamda timestamp-related constant