public abstract class InteractionRuleL3Adaptor extends Object implements InteractionRuleL3
Constructor and Description |
---|
InteractionRuleL3Adaptor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkOption(Object key,
Object value,
Map options)
Checks if the options map has the given option with the given value.
|
protected Set<BioPAXElement> |
collectEntities(Set<PhysicalEntity> pes,
InteractionSetL3 set) |
protected void |
createAndAdd(BioPAXElement source,
BioPAXElement target,
InteractionSetL3 is3,
BinaryInteractionType type,
BioPAXElement... mediators)
Creates the binary interaction and adds to the inferred interaction list.
|
protected void |
createClique(InteractionSetL3 interactionSet,
List<BioPAXElement> components,
BinaryInteractionType type,
BioPAXElement... mediators)
Creates an interactions between every ordered pair of components.
|
void |
inferInteractions(InteractionSet interactionSet,
BioPAXElement entity,
Model model)
Selects only PhysicalEntity as seed.
|
void |
initOptions(Map options)
Initializes the options.
|
protected void |
initOptionsNotNull(Map options)
Does nothing for this class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inferInteractionsFromPE
getRuleTypes
public InteractionRuleL3Adaptor()
public final void inferInteractions(InteractionSet interactionSet, BioPAXElement entity, Model model)
inferInteractions
in interface InteractionRule
interactionSet
- inferred interactionsentity
- this must be a PhysicalEntity for L3model
- BioPAX modelpublic void initOptions(Map options)
initOptions
in interface InteractionRule
options
- options mapprotected void initOptionsNotNull(Map options)
options
- options mapprotected boolean checkOption(Object key, Object value, Map options)
key
- key of the optionvalue
- value of the optionoptions
- options mapprotected Set<BioPAXElement> collectEntities(Set<PhysicalEntity> pes, InteractionSetL3 set)
pes
- physical entitiesset
- inferred binary interactionsprotected void createClique(InteractionSetL3 interactionSet, List<BioPAXElement> components, BinaryInteractionType type, BioPAXElement... mediators)
interactionSet
- inferred interactionscomponents
- nodes of the cliquetype
- interaction typemediators
- mediator elements of te interactionprotected void createAndAdd(BioPAXElement source, BioPAXElement target, InteractionSetL3 is3, BinaryInteractionType type, BioPAXElement... mediators)
source
- source of the interactiontarget
- target of the interactionis3
- inferred interactionstype
- interaction typemediators
- mediators of the interactionCopyright © 2015 BioPAX. All rights reserved.