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 protectedIntermodalConverter(IntermodalReader<T,U> reader, IntermodalWriter<ServiceNetwork,RoutedServices> writer)ConstructorprotectedIntermodalConverter(PairConverterReader<MacroscopicNetwork,Zoning> reader, PairConverterWriter<MacroscopicNetwork,Zoning> writer)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert()Support conversion fo PLANit network and zoning without servicesvoidconvertWithServices()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 PlanItExceptionSupport conversion fo PLANit network and zoning without services- Overrides:
convertin classPairConverter<MacroscopicNetwork,Zoning>- Throws:
PlanItException- thrown when error
-
convertWithServices
public void convertWithServices() throws PlanItExceptionSupport conversion fo PLANit network and zoning with services- Throws:
PlanItException- thrown when error
-
-