|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.models.graphbased.directed.petrinet.configurable.ConfigurableFeatureGroup
public class ConfigurableFeatureGroup
A group of features that shall be configured together. *
Field Summary | |
---|---|
static java.util.Comparator<ConfigurableFeatureGroup> |
comparator
Default comparator comparing groups by their ids |
Constructor Summary | |
---|---|
ConfigurableFeatureGroup(java.lang.String id)
|
Method Summary | |
---|---|
void |
addFeature(ConfigurableFeature<? extends org.processmining.models.graphbased.directed.DirectedGraphElement,? extends java.lang.Object> feature)
Add feature to this group. |
ConfigurableFeatureGroup |
cloneFor(java.util.Map<org.processmining.models.graphbased.directed.DirectedGraphElement,org.processmining.models.graphbased.directed.DirectedGraphElement> copies)
Clone this feature group and create a new ConfigurableFeature for each feature in this
group where the ConfigurableFeature.getConfiguredElement() is updated according to
copies. |
static ConfigurableFeatureGroup |
createDefaultFeatureGroup(Place p,
Marking m)
Create a configurable feature group for the presence of a place and its initial marking. |
static ConfigurableFeatureGroup |
createDefaultFeatureGroup(Transition t)
Create a configurable feature group for the presence of a transition and the weights of its adjacent arcs. |
static java.util.List<ConfigurableFeatureGroup> |
createDefaultFeatureGroups(PetrinetGraph net,
Marking m)
Create default configurable feature groups for all nodes in the net. |
void |
executeConfiguration(ConfigurablePetrinet<? extends PetrinetGraph> parent)
Executes the configuration for this feature group. |
java.util.List<ConfigurableFeature<? extends org.processmining.models.graphbased.directed.DirectedGraphElement,? extends java.lang.Object>> |
getFeatures()
|
java.util.List<ConfigurableFeature<? extends org.processmining.models.graphbased.directed.DirectedGraphElement,? extends java.lang.Object>> |
getFeatures(org.processmining.models.graphbased.directed.DirectedGraphElement element)
|
java.lang.String |
getId()
|
java.util.List<ConfigurableParameter<?>> |
getInputParameters()
|
java.util.List<ConfigurableParameter<?>> |
getInputParametersByName()
|
void |
setInputParameter(java.lang.String key,
java.lang.Object value)
Set value of an input parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Comparator<ConfigurableFeatureGroup> comparator
Constructor Detail |
---|
public ConfigurableFeatureGroup(java.lang.String id)
Method Detail |
---|
public void addFeature(ConfigurableFeature<? extends org.processmining.models.graphbased.directed.DirectedGraphElement,? extends java.lang.Object> feature) throws InvalidConfigurationException
feature
-
InvalidConfigurationException
- ifpublic java.util.List<ConfigurableFeature<? extends org.processmining.models.graphbased.directed.DirectedGraphElement,? extends java.lang.Object>> getFeatures()
public java.util.List<ConfigurableFeature<? extends org.processmining.models.graphbased.directed.DirectedGraphElement,? extends java.lang.Object>> getFeatures(org.processmining.models.graphbased.directed.DirectedGraphElement element)
element
-
public void executeConfiguration(ConfigurablePetrinet<? extends PetrinetGraph> parent)
parent
- public java.lang.String getId()
public ConfigurableFeatureGroup cloneFor(java.util.Map<org.processmining.models.graphbased.directed.DirectedGraphElement,org.processmining.models.graphbased.directed.DirectedGraphElement> copies) throws InvalidConfigurationException
ConfigurableFeature
for each feature in this
group where the ConfigurableFeature.getConfiguredElement()
is updated according to
copies.
Every subclass must override this method for proper cloning behavior.
copies
-
InvalidConfigurationException
public static ConfigurableFeatureGroup createDefaultFeatureGroup(Transition t) throws InvalidConfigurationException
t
-
InvalidConfigurationException
public static ConfigurableFeatureGroup createDefaultFeatureGroup(Place p, Marking m) throws InvalidConfigurationException
p
- m
-
InvalidConfigurationException
public static java.util.List<ConfigurableFeatureGroup> createDefaultFeatureGroups(PetrinetGraph net, Marking m) throws InvalidConfigurationException
net
- m
-
InvalidConfigurationException
public java.util.List<ConfigurableParameter<?>> getInputParameters()
getInputParameters
in interface ParameterizedFeature<ConfigurableParameter<?>>
public java.util.List<ConfigurableParameter<?>> getInputParametersByName()
getInputParametersByName
in interface ParameterizedFeature<ConfigurableParameter<?>>
ConfigurableParameter.getId()
, i.e., from two input
parameters with same id, only one will be includedpublic void setInputParameter(java.lang.String key, java.lang.Object value) throws InvalidConfigurationException
ParameterizedFeature
setInputParameter
in interface ParameterizedFeature<ConfigurableParameter<?>>
InvalidConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |