|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.codegen.sc.PriorityOptimizer
public class PriorityOptimizer
A class to optimize the priority numbers of a given SC-File. The optimization includes only the reduction of used integers.
Constructor Summary | |
---|---|
PriorityOptimizer(File f)
Constructor that sets the file. |
Method Summary | |
---|---|
int |
getMaxThreadPrio()
Returns the maximal number of thread id's. |
void |
optimize()
Starts the optimization of the given file and replaces all unoptimized priorities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PriorityOptimizer(File f)
f
- file to optimize priorities forMethod Detail |
---|
public void optimize() throws IOException
IOException
- if file does not existpublic int getMaxThreadPrio()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |