erste grobe Struktur zum MVP Prinzip
This commit is contained in:
parent
4310186f44
commit
8e8bd52fd1
|
@ -0,0 +1,11 @@
|
||||||
|
package Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public interface Model {
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
package Presenter.Algorithms;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public abstract class Algorithm {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
package Presenter.Algorithms;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public class LeastMedianOfSquaresEstimator extends Algorithm {
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
package Presenter.Algorithms;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public class RepeatedMedianEstimator extends Algorithm {
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
package Presenter.Algorithms;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public class TheilSenEstimator extends Algorithm {
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
package Presenter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public class Coordinator implements Presenter {
|
||||||
|
|
||||||
|
public void getDataFromModel() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDataByModel() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void getActionsFromView() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setActionByView() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
package Presenter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public interface Presenter {
|
||||||
|
|
||||||
|
public void getDataFromModel();
|
||||||
|
|
||||||
|
public void setDataByModel();
|
||||||
|
|
||||||
|
public void getActionsFromView();
|
||||||
|
|
||||||
|
public void setActionByView();
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
package View;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
||||||
|
*
|
||||||
|
* @Author: Armin Wolf
|
||||||
|
* @Email: a_wolf28@uni-muenster.de
|
||||||
|
* @Date: 28.05.2017.
|
||||||
|
*/
|
||||||
|
public interface View {
|
||||||
|
}
|
Loading…
Reference in New Issue