Interface GraphIteratorPoller<N,​E>

Type Parameters:
N - Тип вершины
E - Тип ребра
All Known Implementing Classes:
GraphIteratorPoller.FirstPoller

public interface GraphIteratorPoller<N,​E>
Интерфейс извлечения очередного пути
Author:
Kamnev Georgiy (nt.gocha@gmail.com)
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  GraphIteratorPoller.FirstPoller<N,​E>
    Извлекает первый элемент из списка
  • Method Summary

    Modifier and Type Method Description
    Path<N,​E> poll​(java.util.List<Path<N,​E>> paths)
    Извелчение пути из списка существующих.
  • Method Details

    • poll

      Path<N,​E> poll​(java.util.List<Path<N,​E>> paths)
      Извелчение пути из списка существующих. Извлекаемый путь, должен быть удален из списка
      Parameters:
      paths - Список путей
      Returns:
      Извлеченный путь