Tabnine Logo
TripStructureUtils$Subtour.getChildren
Code IndexAdd Tabnine to your IDE (free)

How to use
getChildren
method
in
org.matsim.core.router.TripStructureUtils$Subtour

Best Java code snippets using org.matsim.core.router.TripStructureUtils$Subtour.getChildren (Showing top 3 results out of 315)

origin: matsim-org/matsim

if (subtour.getChildren().isEmpty()) {
  checkSubtour(subtour);
} else {
origin: matsim-org/matsim

boolean atLeastOneSubtourWithDifferentChainBasedModes = false;
if (subtour.getChildren().isEmpty()) {
  String modePreviousTripSameSubtour = null;
origin: matsim-org/matsim

@Test
public void testFatherhood() throws Exception {
  for (Fixture f : allFixtures( useFacilitiesAsAnchorPoint )) {
    final Collection<Subtour> subtours = TripStructureUtils.getSubtours( f.plan , CHECKER);
    for (Subtour s : subtours) {
      for ( Subtour child : s.getChildren() ) {
        assertEquals(
            "[anchorAtFacilities="+f.useFacilitiesAsAnchorPoint+"] "+
            "wrong father!",
            child.getParent(),
            s);
      }
      if ( s.getParent() != null ) {
        assertTrue(
            "[anchorAtFacilities="+f.useFacilitiesAsAnchorPoint+"] "+
            "father does not have subtour has a child",
            s.getParent().getChildren().contains( s ));
      }
    }
  }
}
org.matsim.core.routerTripStructureUtils$SubtourgetChildren

Popular methods of TripStructureUtils$Subtour

  • getTrips
  • <init>
  • getParent
  • isClosed
  • areChildrenCompatible
  • contains
  • equals
  • getTripsWithoutSubSubtours

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now