You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often, Amodeus uses Enums at strange locations. For instance, I see that there is a MatsimShapeFileVirtualNetworkCreator
that I find in one old run script for a paper. Now I want to check if there is a different one, that creates me a VirtualNetwork on the fly. The "natural" Java way (in my opinion) would now be to go to MATSimShapeFileVirtualNetworkCreator, find the interface that it implements (which would be VirtualNetworkCreator) and then check for the implementations. The way it is now I have to look though the whole project to find a class (/enum) that does what I want, but without any indication that it has a certain purpose (i.e. creating a network). I think Amodeus does this not only in this case but in several other places.
The text was updated successfully, but these errors were encountered:
Which, in turn, also leads to the situation that KMeansVirtualNetworkCreator works completely different than the other creator... it doesn't even have a public interface to create the network.
And now I found it... there is a MatsimKMeansVirtualNetworkCreator, which does the trick. But I think this example illustrates quite well what I mean initially ;-)
Hi,
I second that comment. I, also, had little hard time finding the implementation for the different virtual network creators. Although, I want to add that after I found the VirtualNetworkCreators, it was pretty straight forward looking for the PopulationCutters.
So this might be solved with a documentation for amodeusOptions.properties.
Often, Amodeus uses Enums at strange locations. For instance, I see that there is a
MatsimShapeFileVirtualNetworkCreator
that I find in one old run script for a paper. Now I want to check if there is a different one, that creates me a VirtualNetwork on the fly. The "natural" Java way (in my opinion) would now be to go to MATSimShapeFileVirtualNetworkCreator, find the interface that it implements (which would be
VirtualNetworkCreator
) and then check for the implementations. The way it is now I have to look though the whole project to find a class (/enum) that does what I want, but without any indication that it has a certain purpose (i.e. creating a network). I think Amodeus does this not only in this case but in several other places.The text was updated successfully, but these errors were encountered: