public class ParticipatesRule extends InteractionRuleL2Adaptor
Constructor and Description |
---|
ParticipatesRule()
Constructor with default values.
|
ParticipatesRule(int threshold)
Constructor with participant number threshold.
|
ParticipatesRule(int threshold,
boolean suppressExceptions)
Constructor with participant number threshold and option to suppress exceptions.
|
Modifier and Type | Method and Description |
---|---|
List<BinaryInteractionType> |
getRuleTypes()
Gets a list of the rule types that this class implements.
|
void |
inferInteractionsFromPE(InteractionSet interactionSet,
physicalEntity pe,
Model model)
Infer using given physicalEntity as source.
|
void |
initOptionsNotNull(Map options)
Initializes options.
|
inferInteractions, initOptions
public ParticipatesRule()
public ParticipatesRule(int threshold)
threshold
- participant number thresholdpublic ParticipatesRule(int threshold, boolean suppressExceptions)
threshold
- participant number thresholdsuppressExceptions
- option to just skip interactions with too many participantspublic void initOptionsNotNull(Map options)
initOptionsNotNull
in class InteractionRuleL2Adaptor
options
- options mappublic void inferInteractionsFromPE(InteractionSet interactionSet, physicalEntity pe, Model model)
interactionSet
- to be populatedpe
- sourcemodel
- BioPAX modelpublic List<BinaryInteractionType> getRuleTypes()
InteractionRule
Copyright © 2015 BioPAX. All rights reserved.