This commit is contained in:
Tomasz Piechucki 2011-03-22 17:59:08 +00:00
parent db3678bb2d
commit e79cc222d7
4 changed files with 17 additions and 1 deletions

View file

@ -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.");
}
} }

View file

@ -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.");
}
} }

View file

@ -10,5 +10,5 @@ package Logic;
* @author Tomek * @author Tomek
*/ */
public interface IAlgorytm { public interface IAlgorytm {
public int [] Trasa(Pasazer [] pasazerowie);
} }

View file

@ -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;
}
} }