From: Jakob E. <nam...@go...> - 2014-02-04 08:13:29
|
Hello, In the application od2trips (from the sumo-suite), od-matrix cells are represented as entities with parameters beginTime,endTime,origin,destination (see src/od2trips/ODCell.h). These cells are then serialized in a vector. Your question whether to have a list of matrices (one for each time slice) or to have one matrix with flow-over-time vectors does not strike me as being critical. Both approaches will work. The former will make it easiert to manipulate a single time slice and the latter will make it easier to manipulate a single od-relation. regards, Jakob 2014-01-30 Andres Felipe Acosta Gil <pip...@gm...>: > Dear SUMO community. > > We are interested in developing a tool to manually construct an O/D Matrix > to generate flow definitions and consequently, the SUMO routes file. > > Since we are not transportation or software engineering experts, we would > like to hear suggestions regarding the data structures and classes which > best represent a time-variant OD Matrix. Moreover, we would like the > matrix's elements to support the required and optional flow parameters, > found in > http://sumo-sim.org/userdoc/Demand/Shortest_or_Optimal_Path_Routing.html. > > Consider this use case story: The user has a vector, say [20 30 50 20 10], > representing the vehicle demand in vehicles per hour. He must be able to > provide several vectors of this kind to an OD Matrix, including the > parameters mentioned so far. > > We have thought about defining a class with these parameters as attributes. > But how to represent the time-variant behaviour? by constructing many > instances with the same attributes except for begin, end and number? or by > generalizing the number attribute to be a vector?. > > Additionally, the classes involved should be defined having a DOM structure > into account, so that we can easily transform it to a valid xml file. > > Finally, recommendations about books, articles and so on are really > appreciated. > > We apologise if it's already a tool with these features. > > Best Regards. > > > -- > > Andres Felipe Acosta Gil > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-devel mailing list > sum...@li... > https://lists.sourceforge.net/lists/listinfo/sumo-devel > |