21 #ifndef OTAWA_ALTERNATIVE_PROCESSOR_H
22 #define OTAWA_ALTERNATIVE_PROCESSOR_H
24 #include <elm/genstruct/Vector.h>
62 #endif // OTAWA_ALTERNATIVE_PROCESSOR_H
Definition: Registration.h:52
Alternative & use(const AbstractFeature &f)
Add a use to the alternative.
Definition: AlternativeProcessor.h:35
Definition: Registration.h:59
Abstract class to represent the registered processors.
Definition: Registration.h:80
WorkSpace * ws
Definition: Processor.h:185
Set of alternatives for an AlternativeProcessor.
Definition: AlternativeProcessor.h:41
Definition: Registration.h:56
Alternative & require(const AbstractFeature &f)
Add a requirement to the alternative.
Definition: AlternativeProcessor.h:34
const genstruct::Vector< FeatureUsage > features(void) const
Get the list of requirements of this alternative.
Definition: AlternativeProcessor.h:36
genstruct::Vector< FeatureUsage > feats
Definition: AlternativeProcessor.h:38
The processor class is implemented by all code processor.
Definition: Processor.h:49
Represent an alternetive in the requirement of an AlternativeProcessor, i.e., a list of required or u...
Definition: AlternativeProcessor.h:32
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
AlternativeSet & add(const Alternative &alt)
Add an alternative to the set.
Definition: AlternativeProcessor.h:43
inst add(int d, int a, int b)
Definition: inst.h:163
AlternativeProcessor::Alternative alt(void)
Definition: AlternativeProcessor.h:56
virtual const Alternative & select(WorkSpace *ws)=0
This method is called to select an alternative.
With OTAWA classic scheduler, the list of required feature if fixed in the registration data structur...
Definition: AlternativeProcessor.h:29
AlternativeProcessor::AlternativeSet altset(void)
Definition: AlternativeProcessor.h:57
See Feature.
Definition: AbstractFeature.h:36
AlternativeSet set
Definition: AlternativeProcessor.h:52
AlternativeProcessor(AlternativeSet &alts, AbstractRegistration &r)
Build an alternative processor.
Definition: proc_AlternativeProcessor.cpp:130