public class Project
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
APPROXIMATIONS |
Approximations for main memory container (e.g. decision table, PCT or similarity table).
|
static int |
CARDINAL_2_PREF_INTENSITY_DEGREE_CONVERSION |
Conversion of differences of cardinal values to the degrees of the intensity of preference.
|
static int |
CLASSIFICATION_RESULT |
Classification resulting from application of decision rules to some information table.
|
static int |
FINAL_RANKING |
Final ranking resulting from applying rules to test memory container.
|
static int |
INFORMATION_TABLE |
Learning information table being a root of all calculations.
|
static int |
MEMORY_CONTAINER_DESCRIPTION |
Description of memory container (see
MemoryContainerDescription class). |
static int |
ORDINAL_2_CARDINAL_CONVERSION |
Conversion of ordinal values into cardinal ones.
|
static int |
PCT |
Main PCT in Pareto or Lorenz evaluation space, created for information table.
|
static int |
RULES |
Rules for main memory container (e.g. decision table, PCT or similarity table).
|
static int |
SIMILARITY_FUNCTIONS |
Similarity functions for condition attributes from some memory container.
|
static int |
SIMILARITY_TABLE |
Main similarity table in Pareto or Lorenz evaluation space, created for information table.
|
static int |
TEMPORARY_INFORMATION_TABLE |
Learning / test information table, e.g. after applying ordinal values -> cardinal values conversion,
before discretizing quantitative attributes or before transforming to Lorenz evaluation space.
|
static int |
TEMPORARY_PCT |
Main PCT before transformation to Lorenz evaluation space, if such transformation is going to be performed
or any other PCT, created for any test information table.
|
static int |
TEMPORARY_SIMILARITY_TABLE |
Main similarity table before transformation to Lorenz evaluation space, if such transformation is going to be performed
or any other similarity table, created for any test information table.
|
static int |
TEST_INFORMATION_TABLE |
Information table used for testing purposes, passed to rule-based classifier.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
addResourceToProject(java.lang.String filePath,
int resourceType) |
Adds new resource to project and returns its unique id
|
void |
changeFilePath(java.lang.String uniqueId,
java.lang.String filePath) |
Changes file path for resource with given unique id, already added to this project.
|
void |
changeResourceType(java.lang.String uniqueId,
int resourceType) |
Changes resource type for resource with given unique id, already added to this project.
|
void |
deleteResourceFromProject(java.lang.String uniqueId) |
Deletes resource from project
|
static Project |
getInstance() |
Gets the only instance of this class
|
java.lang.String |
getResourceFileDir(java.lang.String uniqueId) |
Gets directory of the resource with given id
|
java.lang.String |
getResourceFileName(java.lang.String uniqueId) |
Gets file name of the resource with given id
|
java.lang.String |
getResourceFilePath(java.lang.String uniqueId) |
Gets path to resource file with given id
|
boolean |
isResourceFilePathInProject(java.lang.String filePath) |
Checks whether resource with given file path is present in project
|
void |
setProjectDirPath(java.lang.String projectDirPath) |
Sets path to directory of this project
|
public static final int INFORMATION_TABLE
public static final int TEST_INFORMATION_TABLE
public static final int TEMPORARY_INFORMATION_TABLE
public static final int TEMPORARY_PCT
public static final int PCT
TEMPORARY_PCT
resource type should be used).public static final int TEMPORARY_SIMILARITY_TABLE
public static final int SIMILARITY_TABLE
TEMPORARY_SIMILARITY_TABLE
resource type should be used).public static final int APPROXIMATIONS
public static final int ORDINAL_2_CARDINAL_CONVERSION
public static final int CARDINAL_2_PREF_INTENSITY_DEGREE_CONVERSION
public static final int RULES
public static final int FINAL_RANKING
public static final int MEMORY_CONTAINER_DESCRIPTION
MemoryContainerDescription
class).
There may be many such resources.public static final int CLASSIFICATION_RESULT
public static final int SIMILARITY_FUNCTIONS
public static Project getInstance()
public void setProjectDirPath(java.lang.String projectDirPath)
projectDirPath
- path to directory of this projectpublic boolean isResourceFilePathInProject(java.lang.String filePath)
filePath
- path to file with resource which presence should be checkedtrue
if resource with given file path is present in this project, false
otherwisepublic java.lang.String getResourceFileName(java.lang.String uniqueId)
uniqueId
- unique id of the resourcenull
if resource with given id is not present in this projectpublic java.lang.String getResourceFileDir(java.lang.String uniqueId)
uniqueId
- unique id of the resourcenull
if resource with given id is not present in this projectpublic java.lang.String getResourceFilePath(java.lang.String uniqueId)
uniqueId
- unique id of the resourcenull
if resource with given id is not present in this projectpublic java.lang.String addResourceToProject(java.lang.String filePath, int resourceType)
filePath
- path to file with resource added to this projectresourceType
- see public constants from this classpublic void deleteResourceFromProject(java.lang.String uniqueId)
uniqueId
- unique id of deleted resourcepublic void changeFilePath(java.lang.String uniqueId, java.lang.String filePath)
uniqueId
- unique id of a resource already added to this projectfilePath
- path to file with resource already added to this projectpublic void changeResourceType(java.lang.String uniqueId, int resourceType)
uniqueId
- unique id of a resource already added to this projectresourceType
- see public constants from this class