Class IntermodalConverter<T extends ServiceNetwork,U extends RoutedServices>
- java.lang.Object
-
- org.goplanit.converter.ConverterBase
-
- org.goplanit.converter.PairConverter<MacroscopicNetwork,Zoning>
-
- org.goplanit.converter.intermodal.IntermodalConverter<T,U>
-
public class IntermodalConverter<T extends ServiceNetwork,U extends RoutedServices> extends PairConverter<MacroscopicNetwork,Zoning>
A converter that supports intermodal networks, i.e., a combination of both a network and a zoning with transfer zones- Author:
- markr
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IntermodalConverter(IntermodalReader<T,U> reader, IntermodalWriter<ServiceNetwork,RoutedServices> writer)
Constructorprotected
IntermodalConverter(PairConverterReader<MacroscopicNetwork,Zoning> reader, PairConverterWriter<MacroscopicNetwork,Zoning> writer)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convert()
Support conversion fo PLANit network and zoning without servicesvoid
convertWithServices()
Support conversion fo PLANit network and zoning with services-
Methods inherited from class org.goplanit.converter.ConverterBase
getReader, getWriter
-
-
-
-
Constructor Detail
-
IntermodalConverter
protected IntermodalConverter(PairConverterReader<MacroscopicNetwork,Zoning> reader, PairConverterWriter<MacroscopicNetwork,Zoning> writer)
Constructor- Parameters:
reader
- for intermodal networkswriter
- for intermodal networks
-
IntermodalConverter
protected IntermodalConverter(IntermodalReader<T,U> reader, IntermodalWriter<ServiceNetwork,RoutedServices> writer)
Constructor- Parameters:
reader
- for intermodal networkswriter
- for intermodal networks
-
-
Method Detail
-
convert
public void convert() throws PlanItException
Support conversion fo PLANit network and zoning without services- Overrides:
convert
in classPairConverter<MacroscopicNetwork,Zoning>
- Throws:
PlanItException
- thrown when error
-
convertWithServices
public void convertWithServices() throws PlanItException
Support conversion fo PLANit network and zoning with services- Throws:
PlanItException
- thrown when error
-
-