Questions tagged [rinsim]

Questions concerning the RinSim logistics simulator

RinSim is a logistics simulator written in Java. RinSim supports (de)centralized algorithms for dynamic pickup-and-delivery problems (PDP). The simulator is developed at the imec-DistriNet group at the dept. of Computer Science, KU Leuven, Belgium.

30 questions
1
vote
1 answer

Rinsim, load leuven map by dynamicgraph and consider collisionAvoidance. end up with there is too short connection in the graph

I am trying to do route planning with Rinsim. And I want to take collisionAvoidance into account, So I load the map by this method (because it seems collisionAvoidance is only supported in dynamicGraph): private static ListenableGraph
yihang.zhu
  • 27
  • 4
1
vote
1 answer

How use methods from RinSim library when error is "is not public in package"?

When I try to create for example a CommDeviceBuilder for my own class I get this error telling me it's not a public method. How am I supposed to make a builder like this then?
1
vote
1 answer

only display hello world when I run example of RinSim ubuntu 64

Hello I try to run the first example introduced in http://rinsim.rinde.nl/installation/intellij/, it shows the following error: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger…
yihang.zhu
  • 27
  • 4
1
vote
0 answers

I cannot output the correct "Time" the simulation took to finish

I am using the ExperimentExample base, I implemented a custom stop condition for when AGVs finish delivering Parcels and there are no more Parcels available. Additionally I implemented a custom PostProcessor; here I am trying to obtain the time it…
StOchastiC_
  • 133
  • 8
1
vote
1 answer

How do "while" statements affect the execution of RinSim?

I have some while statements in my project, specifically of the type: while(!rm.getPosition(this).equals(destination.get())) { rm.moveTo(this, destination.get(), time); } Additionally, I have some while's to make an agent wait for a message. My…
StOchastiC_
  • 133
  • 8
1
vote
1 answer

Distance calculation in RinSim 4.1.1

I tried to compute the distance to a delivery location using a RoadModel based on a .dot file. However, the calculated distance using Point.distance(currPos, destPos) gives a result that does not seem to fit. I compared this with the distance from…
0
votes
1 answer

Combining WareHouseModel and Experiments

I am trying to run experiments using the WarehouseRenderer and AgvRenderer from AgvExample. I get the following exception: Exception in thread "main" java.lang.IllegalArgumentException: Could not resolve dependency for implementations of interface…
0
votes
1 answer

How to shrink or magnify the map view in taxi example in RinSim?

As I see, the map of Leuven in the taxi example is fixed size. How can I shrink or magnify the map like in Google Maps via mouse wheel or some button on RinSim?
Tide
  • 11
  • 1
0
votes
0 answers

Boot layer initialization error when running RinSim examples on IntelliJ Idea

I'm trying to get some RinSim examples running on IntelliJ Idea Ultimate 2018.1.4. I've tried following the instructions on http://rinsim.rinde.nl/installation/intellij/, but I run into the following error when performing step 11 in the…
0
votes
1 answer

How to track the path a message has followed through the PDPModel?

We are implementing a delegate-MAS solution where intention, feasibility and exploration ants are depicted by Messages in a CommsModel (as suggested here). We would like to track the path these messages have followed through the model, by adding…
0
votes
1 answer

Classes can't be found in Maven Dependencies

I suddenly encountered the following problem: it does not recognise certain class files from the dependencies. Screenshot Thinking it was because of my installation, I re-installed everything from Java to the Maven Plugin and tried to compile and…
0
votes
1 answer

Does RinSim natively support invisible, non-colliding agents on a PDP Roadmodel?

We are using the map of Leuven as a graph roadmodel. We aim to develop a system using exploration ants, as well as feasibility ants that roam around the map to propagate knowledge about the local environment. Exploration ants are sent out by…
0
votes
0 answers

What is the correct way to add different objects (Parcel) at the same position?

I'm trying to add diferent Parcel objects at the same position. My code looks like this, where Rock extends Parcel: Point origin = null; Rock rock = null; for (int i = 0; i < ROCKS; i++) { if (i % 10 == 0) { origin =…
Alexrs95
  • 392
  • 1
  • 3
  • 13
0
votes
1 answer

Rinsim, compile executable file failed, with maven dependency

I try to get a executable file for my code using this maven plug from How can I create an executable JAR with dependencies using Maven?. However it ends up with the error Failed to execute goal com.mycila:license-maven-plugin:3.0:check…
yihang.zhu
  • 27
  • 4
0
votes
1 answer

How to obtain the time of the simulator in RinSim 4.1.0?

I want to know the time inside the initRoadPDP method (inherited from the Depot class). Is this possible without inserting the Simulator object as a field on my class? class MyDepot extends Depot { @Override public void initRoadPDP(RoadModel…
entropitor
  • 11
  • 3
1
2