This commit is contained in:
parent
db3678bb2d
commit
e79cc222d7
4 changed files with 17 additions and 1 deletions
|
@ -11,4 +11,8 @@ package Logic;
|
||||||
*/
|
*/
|
||||||
public class AlgorytmGoraDol implements IAlgorytm {
|
public class AlgorytmGoraDol implements IAlgorytm {
|
||||||
|
|
||||||
|
public int[] Trasa(Pasazer[] pasazerowie) {
|
||||||
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,8 @@ package Logic;
|
||||||
*/
|
*/
|
||||||
public class AlgorytmNajblizszeWezwanie implements IAlgorytm{
|
public class AlgorytmNajblizszeWezwanie implements IAlgorytm{
|
||||||
|
|
||||||
|
public int[] Trasa(Pasazer[] pasazerowie) {
|
||||||
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,5 +10,5 @@ package Logic;
|
||||||
* @author Tomek
|
* @author Tomek
|
||||||
*/
|
*/
|
||||||
public interface IAlgorytm {
|
public interface IAlgorytm {
|
||||||
|
public int [] Trasa(Pasazer [] pasazerowie);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,4 +31,12 @@ public class Pasazer {
|
||||||
public int GetStop() {
|
public int GetStop() {
|
||||||
return this.stop;
|
return this.stop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetStart(int start) {
|
||||||
|
this.start = start;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetStop(int stop) {
|
||||||
|
this.stop = stop;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue