Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
3143a48d
Commit
3143a48d
authored
Apr 27, 2018
by
Stefan Schuhbaeck
Browse files
Add source generation to simulation module
parent
14500c4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
VadereSimulator/pom.xml
View file @
3143a48d
...
...
@@ -56,6 +56,13 @@
<configuration>
<source>
${maven-compiler.source.version}
</source>
<target>
${maven-compiler.target.version}
</target>
<annotationProcessorPaths>
<path>
<groupId>
org.vadere
</groupId>
<artifactId>
annotation-processing
</artifactId>
<version>
0.1-SNAPSHOT
</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
...
...
@@ -87,7 +94,7 @@
<outputDirectory>
${project.reporting.outputDirectory}/coverage-reports
</outputDirectory>
</configuration>
</execution>
</executions>
</executions>
</plugin>
<plugin>
<!-- Maven Surefire is used to execute unit tests. -->
...
...
@@ -95,11 +102,7 @@
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.19
</version>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>
${surefireArgLine}
</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true -->
<skipTests>
${skip.unit.tests}
</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes>
<exclude></exclude>
</excludes>
...
...
@@ -144,7 +147,7 @@
</plugins>
</pluginManagement>
</build>
<!-- local repository for all jars without an external repo -->
<repositories>
<repository>
...
...
@@ -164,20 +167,27 @@
</dependency>
<!-- module dependencies -->
<dependency>
<dependency>
<groupId>
${project.groupId}
</groupId>
<artifactId>
state
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>
${project.groupId}
</groupId>
<artifactId>
utils
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
${project.groupId}
</groupId>
<artifactId>
annotation-processing
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
net.sourceforge.argparse4j
</groupId>
<artifactId>
argparse4j
</artifactId>
<version>
0.4.3
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
VadereSimulator/src/org/vadere/simulator/projects/dataprocessing/processor/AreaDensityVoronoiProcessor.java
View file @
3143a48d
...
...
@@ -4,11 +4,13 @@ import org.vadere.simulator.projects.dataprocessing.ProcessorManager;
import
org.vadere.state.attributes.processor.AttributesAreaDensityVoronoiProcessor
;
import
org.vadere.state.attributes.processor.AttributesProcessor
;
import
org.vadere.annotation.factories.processor.DataProcessorClass
;
/**
* @author Mario Teixeira Parente
*
*/
@DataProcessorClass
(
name
=
"AreaDensityVoronoiProcessor"
)
public
class
AreaDensityVoronoiProcessor
extends
AreaDensityProcessor
{
public
AreaDensityVoronoiProcessor
(){
...
...
VadereSimulator/src/org/vadere/simulator/projects/dataprocessing/processor/AreaSpeedProcessor.java
View file @
3143a48d
...
...
@@ -11,11 +11,13 @@ import org.vadere.util.geometry.shapes.VPoint;
import
java.util.Map
;
import
org.vadere.annotation.factories.processor.DataProcessorClass
;
/**
* @author Mario Teixeira Parente
*
*/
@DataProcessorClass
(
name
=
"AreaSpeedProcessor"
)
public
class
AreaSpeedProcessor
extends
AreaDataProcessor
<
Double
>
{
private
PedestrianPositionProcessor
pedPosProc
;
private
PedestrianVelocityProcessor
pedVelProc
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment