Browse Source

added partie 2 first part

Lacroix Raphael 2 years ago
parent
commit
7c2bbf8f71

+ 44
- 0
be-graphes-algos/.classpath View File

@@ -0,0 +1,44 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
4
+		<attributes>
5
+			<attribute name="optional" value="true"/>
6
+			<attribute name="maven.pomderived" value="true"/>
7
+		</attributes>
8
+	</classpathentry>
9
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10
+		<attributes>
11
+			<attribute name="optional" value="true"/>
12
+			<attribute name="maven.pomderived" value="true"/>
13
+			<attribute name="test" value="true"/>
14
+		</attributes>
15
+	</classpathentry>
16
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
17
+		<attributes>
18
+			<attribute name="maven.pomderived" value="true"/>
19
+		</attributes>
20
+	</classpathentry>
21
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
22
+		<attributes>
23
+			<attribute name="maven.pomderived" value="true"/>
24
+		</attributes>
25
+	</classpathentry>
26
+	<classpathentry kind="src" path="target/generated-sources/annotations">
27
+		<attributes>
28
+			<attribute name="optional" value="true"/>
29
+			<attribute name="maven.pomderived" value="true"/>
30
+			<attribute name="ignore_optional_problems" value="true"/>
31
+			<attribute name="m2e-apt" value="true"/>
32
+		</attributes>
33
+	</classpathentry>
34
+	<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
35
+		<attributes>
36
+			<attribute name="optional" value="true"/>
37
+			<attribute name="maven.pomderived" value="true"/>
38
+			<attribute name="ignore_optional_problems" value="true"/>
39
+			<attribute name="m2e-apt" value="true"/>
40
+			<attribute name="test" value="true"/>
41
+		</attributes>
42
+	</classpathentry>
43
+	<classpathentry kind="output" path="target/classes"/>
44
+</classpath>

+ 1
- 0
be-graphes-algos/.gitignore View File

@@ -0,0 +1 @@
1
+/target/

+ 34
- 0
be-graphes-algos/.project View File

@@ -0,0 +1,34 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>be-graphes-algos</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.m2e.core.maven2Builder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+	</buildSpec>
19
+	<natures>
20
+		<nature>org.eclipse.jdt.core.javanature</nature>
21
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
22
+	</natures>
23
+	<filteredResources>
24
+		<filter>
25
+			<id>1648219127616</id>
26
+			<name></name>
27
+			<type>30</type>
28
+			<matcher>
29
+				<id>org.eclipse.core.resources.regexFilterMatcher</id>
30
+				<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31
+			</matcher>
32
+		</filter>
33
+	</filteredResources>
34
+</projectDescription>

+ 4
- 0
be-graphes-algos/.settings/org.eclipse.core.resources.prefs View File

@@ -0,0 +1,4 @@
1
+eclipse.preferences.version=1
2
+encoding//src/main/java=UTF-8
3
+encoding//src/test/java=UTF-8
4
+encoding/<project>=UTF-8

+ 9
- 0
be-graphes-algos/.settings/org.eclipse.jdt.core.prefs View File

@@ -0,0 +1,9 @@
1
+eclipse.preferences.version=1
2
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
3
+org.eclipse.jdt.core.compiler.compliance=11
4
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
7
+org.eclipse.jdt.core.compiler.processAnnotations=disabled
8
+org.eclipse.jdt.core.compiler.release=disabled
9
+org.eclipse.jdt.core.compiler.source=11

+ 4
- 0
be-graphes-algos/.settings/org.eclipse.m2e.core.prefs View File

@@ -0,0 +1,4 @@
1
+activeProfiles=
2
+eclipse.preferences.version=1
3
+resolveWorkspaceProjects=true
4
+version=1

+ 49
- 0
be-graphes-gui/.classpath View File

@@ -0,0 +1,49 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
4
+		<attributes>
5
+			<attribute name="optional" value="true"/>
6
+			<attribute name="maven.pomderived" value="true"/>
7
+		</attributes>
8
+	</classpathentry>
9
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10
+		<attributes>
11
+			<attribute name="maven.pomderived" value="true"/>
12
+		</attributes>
13
+	</classpathentry>
14
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15
+		<attributes>
16
+			<attribute name="optional" value="true"/>
17
+			<attribute name="maven.pomderived" value="true"/>
18
+			<attribute name="test" value="true"/>
19
+		</attributes>
20
+	</classpathentry>
21
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
22
+		<attributes>
23
+			<attribute name="maven.pomderived" value="true"/>
24
+		</attributes>
25
+	</classpathentry>
26
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
27
+		<attributes>
28
+			<attribute name="maven.pomderived" value="true"/>
29
+		</attributes>
30
+	</classpathentry>
31
+	<classpathentry kind="src" path="target/generated-sources/annotations">
32
+		<attributes>
33
+			<attribute name="optional" value="true"/>
34
+			<attribute name="maven.pomderived" value="true"/>
35
+			<attribute name="ignore_optional_problems" value="true"/>
36
+			<attribute name="m2e-apt" value="true"/>
37
+		</attributes>
38
+	</classpathentry>
39
+	<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
40
+		<attributes>
41
+			<attribute name="optional" value="true"/>
42
+			<attribute name="maven.pomderived" value="true"/>
43
+			<attribute name="ignore_optional_problems" value="true"/>
44
+			<attribute name="m2e-apt" value="true"/>
45
+			<attribute name="test" value="true"/>
46
+		</attributes>
47
+	</classpathentry>
48
+	<classpathentry kind="output" path="target/classes"/>
49
+</classpath>

+ 1
- 0
be-graphes-gui/.gitignore View File

@@ -0,0 +1 @@
1
+/target/

+ 34
- 0
be-graphes-gui/.project View File

@@ -0,0 +1,34 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>be-graphes-gui</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.m2e.core.maven2Builder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+	</buildSpec>
19
+	<natures>
20
+		<nature>org.eclipse.jdt.core.javanature</nature>
21
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
22
+	</natures>
23
+	<filteredResources>
24
+		<filter>
25
+			<id>1648219127683</id>
26
+			<name></name>
27
+			<type>30</type>
28
+			<matcher>
29
+				<id>org.eclipse.core.resources.regexFilterMatcher</id>
30
+				<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31
+			</matcher>
32
+		</filter>
33
+	</filteredResources>
34
+</projectDescription>

+ 4
- 0
be-graphes-gui/.settings/org.eclipse.core.resources.prefs View File

@@ -0,0 +1,4 @@
1
+eclipse.preferences.version=1
2
+encoding//src/main/java=UTF-8
3
+encoding//src/main/resources=UTF-8
4
+encoding/<project>=UTF-8

+ 9
- 0
be-graphes-gui/.settings/org.eclipse.jdt.core.prefs View File

@@ -0,0 +1,9 @@
1
+eclipse.preferences.version=1
2
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
3
+org.eclipse.jdt.core.compiler.compliance=11
4
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
7
+org.eclipse.jdt.core.compiler.processAnnotations=disabled
8
+org.eclipse.jdt.core.compiler.release=disabled
9
+org.eclipse.jdt.core.compiler.source=11

+ 4
- 0
be-graphes-gui/.settings/org.eclipse.m2e.core.prefs View File

@@ -0,0 +1,4 @@
1
+activeProfiles=
2
+eclipse.preferences.version=1
3
+resolveWorkspaceProjects=true
4
+version=1

+ 44
- 0
be-graphes-model/.classpath View File

@@ -0,0 +1,44 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
4
+		<attributes>
5
+			<attribute name="optional" value="true"/>
6
+			<attribute name="maven.pomderived" value="true"/>
7
+		</attributes>
8
+	</classpathentry>
9
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10
+		<attributes>
11
+			<attribute name="optional" value="true"/>
12
+			<attribute name="maven.pomderived" value="true"/>
13
+			<attribute name="test" value="true"/>
14
+		</attributes>
15
+	</classpathentry>
16
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
17
+		<attributes>
18
+			<attribute name="maven.pomderived" value="true"/>
19
+		</attributes>
20
+	</classpathentry>
21
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
22
+		<attributes>
23
+			<attribute name="maven.pomderived" value="true"/>
24
+		</attributes>
25
+	</classpathentry>
26
+	<classpathentry kind="src" path="target/generated-sources/annotations">
27
+		<attributes>
28
+			<attribute name="optional" value="true"/>
29
+			<attribute name="maven.pomderived" value="true"/>
30
+			<attribute name="ignore_optional_problems" value="true"/>
31
+			<attribute name="m2e-apt" value="true"/>
32
+		</attributes>
33
+	</classpathentry>
34
+	<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
35
+		<attributes>
36
+			<attribute name="optional" value="true"/>
37
+			<attribute name="maven.pomderived" value="true"/>
38
+			<attribute name="ignore_optional_problems" value="true"/>
39
+			<attribute name="m2e-apt" value="true"/>
40
+			<attribute name="test" value="true"/>
41
+		</attributes>
42
+	</classpathentry>
43
+	<classpathentry kind="output" path="target/classes"/>
44
+</classpath>

+ 1
- 0
be-graphes-model/.gitignore View File

@@ -0,0 +1 @@
1
+/target/

+ 34
- 0
be-graphes-model/.project View File

@@ -0,0 +1,34 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>be-graphes-model</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.jdt.core.javabuilder</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.m2e.core.maven2Builder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+	</buildSpec>
19
+	<natures>
20
+		<nature>org.eclipse.jdt.core.javanature</nature>
21
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
22
+	</natures>
23
+	<filteredResources>
24
+		<filter>
25
+			<id>1648219127738</id>
26
+			<name></name>
27
+			<type>30</type>
28
+			<matcher>
29
+				<id>org.eclipse.core.resources.regexFilterMatcher</id>
30
+				<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31
+			</matcher>
32
+		</filter>
33
+	</filteredResources>
34
+</projectDescription>

+ 4
- 0
be-graphes-model/.settings/org.eclipse.core.resources.prefs View File

@@ -0,0 +1,4 @@
1
+eclipse.preferences.version=1
2
+encoding//src/main/java=UTF-8
3
+encoding//src/test/java=UTF-8
4
+encoding/<project>=UTF-8

+ 9
- 0
be-graphes-model/.settings/org.eclipse.jdt.core.prefs View File

@@ -0,0 +1,9 @@
1
+eclipse.preferences.version=1
2
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
3
+org.eclipse.jdt.core.compiler.compliance=11
4
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
7
+org.eclipse.jdt.core.compiler.processAnnotations=disabled
8
+org.eclipse.jdt.core.compiler.release=disabled
9
+org.eclipse.jdt.core.compiler.source=11

+ 4
- 0
be-graphes-model/.settings/org.eclipse.m2e.core.prefs View File

@@ -0,0 +1,4 @@
1
+activeProfiles=
2
+eclipse.preferences.version=1
3
+resolveWorkspaceProjects=true
4
+version=1

BIN
img.png View File


+ 1
- 1
pom.xml View File

@@ -12,7 +12,7 @@
12 12
 	<name>be-graphes-all</name>
13 13
 
14 14
 	<properties>
15
-		<jdk.version>1.8</jdk.version>
15
+		<jdk.version>1.11</jdk.version>
16 16
 		<maven.compiler.source>${jdk.version}</maven.compiler.source>
17 17
 		<maven.compiler.target>${jdk.version}</maven.compiler.target>
18 18
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

+ 7
- 0
reponses.md View File

@@ -0,0 +1,7 @@
1
+# Partie 2
2
+## Representation:
3
+On a une liste de liste et non une matrice. L'avantage est de prendre bien moins de place en memoire.
4
+
5
+## Diagram UML
6
+Diagrame UML : <br>
7
+<img src="./img.png">

Loading…
Cancel
Save