-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
76 lines (65 loc) · 3.07 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
In this assignment, I use Java to implement Gale Shareply algorithm, use Maven tool to build this project.
**************************************
How to run code:
**************************************
1. Enter in the source code file:
[root@Spark Assignment]# cd algorithm-a1/
[root@Spark algorithm-a1]# ls
pom.xml Readme.txt src
[root@Spark algorithm-a1]#
2. execute maven command to compile and run the source code:
[root@Spark algorithm-a1]# mvn test
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building algorithm-a1 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ algorithm-a1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /mnt/Java/Assignment/algorithm-a1/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ algorithm-a1 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /mnt/Java/Assignment/algorithm-a1/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ algorithm-a1 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /mnt/Java/Assignment/algorithm-a1/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ algorithm-a1 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /mnt/Java/Assignment/algorithm-a1/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ algorithm-a1 ---
[INFO] Surefire report directory: /mnt/Java/Assignment/algorithm-a1/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.ucf.edu.algorithm_a1.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] >>> exec-maven-plugin:1.1.1:java (default) > validate @ algorithm-a1 >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.1.1:java (default) < validate @ algorithm-a1 <<<
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:java (default) @ algorithm-a1 ---
Gale Shapley Marriage Algorithm
Couples are:
M5:W1
M4:W2
M2:W3
M3:W4
M1:W5
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.667 s
[INFO] Finished at: 2016-01-17T13:24:16-05:00
[INFO] Final Memory: 17M/495M
[INFO] ------------------------------------------------------------------------
[root@Spark algorithm-a1]#
3. verfiy the result