Class RengineUtils
- java.lang.Object
-
- org.processmining.variantfinder.utils.RengineUtils
-
public class RengineUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RengineUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<RuleSet>analyzeElement(AnnotationElementXEvent annotationEvents, TreeSettings settings)static RuleSetbuildTree(AnnotationElementXEvent annotationEvents, java.util.List<java.lang.String> attributes, TreeSettings settings)Synchronized method to build a tree using R.static java.lang.StringescapeCharacters(java.lang.String string)static voidevaluate(org.rosuda.REngine.Rserve.RConnection c, java.lang.String code)static org.rosuda.REngine.Rserve.RConnectiongetConnection()static java.lang.Stringprint(org.rosuda.REngine.Rserve.RConnection c, java.lang.String rCode)
-
-
-
Method Detail
-
getConnection
public static org.rosuda.REngine.Rserve.RConnection getConnection()
-
analyzeElement
public static java.util.List<RuleSet> analyzeElement(AnnotationElementXEvent annotationEvents, TreeSettings settings)
-
buildTree
public static RuleSet buildTree(AnnotationElementXEvent annotationEvents, java.util.List<java.lang.String> attributes, TreeSettings settings) throws java.io.IOException, org.rosuda.REngine.REngineException, org.rosuda.REngine.REXPMismatchException
Synchronized method to build a tree using R.- Parameters:
annotationEvents-allAttributes-classAttribute-width-height-- Returns:
- Throws:
java.io.IOExceptionorg.rosuda.REngine.REngineExceptionorg.rosuda.REngine.REXPMismatchException
-
print
public static java.lang.String print(org.rosuda.REngine.Rserve.RConnection c, java.lang.String rCode)
-
evaluate
public static void evaluate(org.rosuda.REngine.Rserve.RConnection c, java.lang.String code)
-
escapeCharacters
public static java.lang.String escapeCharacters(java.lang.String string)
-
-