public class ComponentRule extends InteractionRuleL2Adaptor
Constructor and Description |
---|
ComponentRule()
Constructor with default values.
|
ComponentRule(int threshold)
Constructor with threshold
|
ComponentRule(int threshold,
boolean suppressExceptions)
Constructor with threshold and exception suppressing option.
|
Modifier and Type | Method and Description |
---|---|
List<BinaryInteractionType> |
getRuleTypes()
Gets supported interaction types.
|
void |
inferInteractionsFromPE(InteractionSet interactionSet,
physicalEntity A,
Model model)
Infer starting from the given physicalEntity.
|
void |
initOptionsNotNull(Map options)
Initializes options.
|
inferInteractions, initOptions
public ComponentRule()
public ComponentRule(int threshold)
threshold
- limit for the member size of the complex to minepublic ComponentRule(int threshold, boolean suppressExceptions)
threshold
- limit for the member size of the complex to minesuppressExceptions
- if true, does not throw exception for large complexes, just skips
thempublic void inferInteractionsFromPE(InteractionSet interactionSet, physicalEntity A, Model model)
interactionSet
- to be populatedA
- source of the interactionmodel
- BioPAX modelpublic List<BinaryInteractionType> getRuleTypes()
public void initOptionsNotNull(Map options)
initOptionsNotNull
in class InteractionRuleL2Adaptor
options
- options mapCopyright © 2015 BioPAX. All rights reserved.