-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainGraph.java
More file actions
32 lines (22 loc) · 824 Bytes
/
Copy pathMainGraph.java
File metadata and controls
32 lines (22 loc) · 824 Bytes
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
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.*;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Scanner;
import java.io.IOException;
public class MainGraph {
public static void main(String args[]) throws FileNotFoundException, IllegalArgumentException, IOException {
int[][] data = {{0,255,0,0},{255,0,255,255}};
Img img = new Img(data);
img.creerImage("example");
InstanceDebruitage instdeb = new InstanceDebruitage(img);
instdeb.setAlpha(7);
System.out.println(instdeb);
Reseau r = new Reseau(instdeb);
System.out.println("Reseau:");
System.out.println(r);
arcForReseau double[4][4]= {{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0}}
Reseau r1 = new Reseau();
}
}