| 1 | package de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures; |
| 2 | |
| 3 | import org.opt4j.core.InfeasibilityConstraint; |
| 4 | |
| 5 | import de.uka.ipd.sdq.pcm.usagemodel.EntryLevelSystemCall; |
| 6 | |
| 7 | public class EntryLevelSystemCallInfeasibilityConstraint extends |
| 8 | InfeasibilityConstraint implements EntryLevelSystemCallCriterion { |
| 9 | |
| 10 | private EntryLevelSystemCall entryLevelSystemCall; |
| 11 | |
| 12 | public EntryLevelSystemCallInfeasibilityConstraint(String name, |
| 13 | Direction direction, double limit, EntryLevelSystemCall entryLevelSystemCall) { |
| 14 | super(name, direction, limit); |
| 15 | this.entryLevelSystemCall = entryLevelSystemCall; |
| 16 | } |
| 17 | |
| 18 | @Override |
| 19 | public EntryLevelSystemCall getEntryLevelSystemCall() { |
| 20 | return this.entryLevelSystemCall; |
| 21 | } |
| 22 | |
| 23 | } |