public class TestUserProfileCreator
extends java.lang.Object
Constructor and Description |
---|
TestUserProfileCreator()
Instantiates a new test user profile creator.
|
Modifier and Type | Method and Description |
---|---|
static void |
createKRSSProfile(java.lang.String userID,
java.lang.String accountID)
Constructs a new KRSS user profile - one can use a set of test concepts
defined explicitly, or generate random transactions and feed them to the
constructor.
|
static void |
createKRSSProfile(java.lang.String userID,
java.lang.String accountID,
java.lang.Double lamda)
Constructs a new KRSS user profile - one can use a set of test concepts
defined explicitly, or generate random transactions and feed them to the
constructor.
|
void |
createProfileFormat(java.lang.String userId)
Creates a file containing the profile concepts for the given user as well
as certain attributes for each profile concept (weight,
positive/negative).
|
static void |
main(java.lang.String[] args)
The main method, that triggers testing of the user profile creator.
|
void |
userInit(java.lang.String userID)
Initialization function for all files of the given user.
|
public TestUserProfileCreator()
public static void createKRSSProfile(java.lang.String userID, java.lang.String accountID)
userID
- the usernametype
- the KRSS profile type that this test will constructpublic static void createKRSSProfile(java.lang.String userID, java.lang.String accountID, java.lang.Double lamda)
userID
- the usernametype
- the KRSS profile type that this test will constructlamda
- the time decay factorpublic void createProfileFormat(java.lang.String userId)
userId
- the user idpublic void userInit(java.lang.String userID)
userID
- the user idpublic static void main(java.lang.String[] args)
args
- No arguments