init bcnn
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
7
src/main/java/net/berack/upo/valpre/Main.java
Normal file
7
src/main/java/net/berack/upo/valpre/Main.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package net.berack.upo.valpre;
|
||||||
|
|
||||||
|
public class Main {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Hello world!");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
import SimUtils.*;
|
package net.berack.upo.valpre.bcnn;
|
||||||
import SimUtils.Queue;
|
|
||||||
|
import net.berack.upo.valpre.bcnn.simutil.*;
|
||||||
|
import net.berack.upo.valpre.bcnn.simutil.Queue;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
class Sim {
|
class Sim {
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
package SimUtils;
|
package net.berack.upo.valpre.bcnn.simutil;
|
||||||
|
|
||||||
public class Event implements Comparable {
|
public class Event implements Comparable<Object> {
|
||||||
|
|
||||||
public Event(int a_type, double a_time) { _type = a_type; time = a_time; }
|
public Event(int a_type, double a_time) { _type = a_type; time = a_time; }
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package SimUtils;
|
package net.berack.upo.valpre.bcnn.simutil;
|
||||||
|
|
||||||
// EventList is implemented as a splay tree
|
// EventList is implemented as a splay tree
|
||||||
// v1. class Event knows this and has fields
|
// v1. class Event knows this and has fields
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package SimUtils;
|
package net.berack.upo.valpre.bcnn.simutil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
Reference in New Issue
Block a user