scheduling() in maxSnr/ scheduler/round robin

This commit is contained in:
iboyeau 2023-03-03 10:56:51 +01:00
parent 9552b52697
commit db5a3d9ad0
5 changed files with 45 additions and 0 deletions

7
.classpath Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry excluding="src/main/java/" kind="src" path=""/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="output" path="bin"/>
</classpath>

17
.project Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ntr</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -1,4 +1,8 @@
package fr.ntr.scheduler;
public class MaxSNR extends Scheduler {
@Override
public void scheduling() {
}
}

View File

@ -1,4 +1,20 @@
package fr.ntr.scheduler;
public class RoundRobin extends Scheduler {
private String nom;
private int index;
public RoundRobin(String nom, int index) {
this.nom = nom;
this.index = index;
}
@Override
public void scheduling() {
}
}

View File

@ -1,4 +1,5 @@
package fr.ntr.scheduler;
public abstract class Scheduler {
public abstract void scheduling();
}