List of commits:
Subject Hash Author Date (UTC)
new class Algorythm to implement BrutForce algorithm cd2f3565cc145dd9f14290b727f74ea0281ef2c7 ani.moosb 2018-04-25 13:12:14
added class City for represnetation of data 057841348e42a9bf916d6b5bf8d8f069a8e4f555 SF2311 2018-04-25 12:42:18
new class Algorythm to implement BrutForce algorithm c0ba57e67447133ed5b2fcde4cc9c6a2c61a1036 ani.moosb 2018-04-25 12:29:31
Fixed menu loading problems 9858b4b11fd912d8b40e681b772bf0ef16678ca6 SF2311 2018-04-20 17:07:20
Added Menu loading 428354d568e6bf97e45ec4c416ce9b3db227eea4 SF2311 2018-04-20 16:12:55
designed main window added launching main window added first menu part in form of gridpane 1f4e52733f4aeb9524fb0f40f8cf7604aaf17898 SF2311 2018-04-19 16:15:30
prepared User interface cfad65413554fbd7a1026f2c8e73e73e996df69d SF2311 2018-04-18 18:51:26
initial commit 272ab94837f2e39f77b768df08a25a78466d52d1 SF2311 2018-04-18 18:43:17
Commit cd2f3565cc145dd9f14290b727f74ea0281ef2c7 - new class Algorythm to implement BrutForce algorithm
Author: ani.moosb
Author date (UTC): 2018-04-25 13:12
Committer name: ani.moosb
Committer date (UTC): 2018-04-25 13:12
Parent(s): 057841348e42a9bf916d6b5bf8d8f069a8e4f555
Signer:
Signing key:
Signing status: N
Tree: 2c1bcd9077c508e2c1c68de4c0a584d6ac6c34d1
File Lines added Lines deleted
src/salesman/data/City.java 21 2
src/salesman/ui/Algorythm.java 4 0
File src/salesman/data/City.java changed (mode: 100644) (index bf05494..844880d)
1 1 package salesman.data; package salesman.data;
2 2
3 3 public class City { public class City {
4 private int x,y;
5 public City(int x, int y){
4
5 public static double abstand(City c1,City c2){
6 double a = Math.sqrt( (c2.getX() - c1.getX())*(c2.getX() - c1.getX()) + (c2.getY()- c2.getY())*(c2.getY()- c2.getY()));
7 return a;
8 }
9
10 private int x,y,iD;
11
12 public City(int x, int y,int ID){
6 13 this.x =x; this.x =x;
7 14 this.y =y; this.y =y;
15 this.iD=ID;
8 16 } }
17
18 public int getX(){
19 return x;
20 }
21 public int getY(){
22 return y;
23 }
24 public int getID(){
25 return iD;
26 }
27
9 28 } }
File src/salesman/ui/Algorythm.java changed (mode: 100644) (index c392d83..3f9336f)
1 1 package salesman.ui; package salesman.ui;
2 2
3 import salesman.data.City;
4
3 5 public class Algorythm extends Thread{ public class Algorythm extends Thread{
4 6
5 7 @Override @Override
6 8 public void run(){ public void run(){
7 9
10
11
8 12 } }
9 13
10 14 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/SF2311/travelling-salesman

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/SF2311/travelling-salesman

Clone this repository using git:
git clone git://git.rocketgit.com/user/SF2311/travelling-salesman

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main