geneura-papers / 2017-GPRuleRefinement

Repository for the GPRuleRefinement paper to be sent to a Journal.
Artistic License 2.0
0 stars 0 forks source link

Complete the variables list (if necessary) #6

Closed fergunet closed 8 years ago

fergunet commented 8 years ago

Class Variable includes a list of possible variables. By now:

    public static String availableTypes[] = new String[] { 
            "DeviceHasAntivirusBinaryVariable",
            "DeviceHasPassword",
            "DeviceOwnedByCategoricalVariable",
            "DeviceScreenTimeoutNumericalVariable",
            "DeviceTypeCategoricalVariable",
            "EventLevelCategoricalVariable",
            "EventTypeCategoricalVariable",
            "PasswordLengthNumericalVariable"

    };

To add a new variable, update the list above with the name of the new variable, and also create a class with that name in package es.ugr.gprulerefinement.variables.types extending BinaryVariable, CategoricalVariable or NumericalVariable