criterions module

class jinete.models.criterions.EarliestLastDepartureTimeRouteCriterion(*args, **kwargs)[source]

Bases: jinete.models.criterions.RouteCriterion

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)
Return type

Route

nbest(n, routes, inplace=False)
Return type

List[Route]

scoring(route)[source]
Return type

float

sorted(routes, inplace=False)
Return type

List[Route]

class jinete.models.criterions.HashCodeRouteCriterion(*args, **kwargs)[source]

Bases: jinete.models.criterions.RouteCriterion

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)
Return type

Route

nbest(n, routes, inplace=False)
Return type

List[Route]

scoring(route)[source]
Return type

float

sorted(routes, inplace=False)
Return type

List[Route]

class jinete.models.criterions.LongestTimeRouteCriterion(*args, **kwargs)[source]

Bases: jinete.models.criterions.RouteCriterion

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)
Return type

Route

nbest(n, routes, inplace=False)
Return type

List[Route]

scoring(route)[source]
Return type

float

sorted(routes, inplace=False)
Return type

List[Route]

class jinete.models.criterions.LongestUtilTimeRouteCriterion(*args, **kwargs)[source]

Bases: jinete.models.criterions.RouteCriterion

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)
Return type

Route

nbest(n, routes, inplace=False)
Return type

List[Route]

scoring(route)[source]
Return type

float

sorted(routes, inplace=False)
Return type

List[Route]

class jinete.models.criterions.RouteCriterion(name, direction, *args, **kwargs)[source]

Bases: abc.ABC

__init__(name, direction, *args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)[source]
Return type

Route

nbest(n, routes, inplace=False)[source]
Return type

List[Route]

abstract scoring(route)[source]
Return type

float

sorted(routes, inplace=False)[source]
Return type

List[Route]

class jinete.models.criterions.ShortestAveragePlannerTripDurationCriterion(*args, **kwargs)[source]

Bases: jinete.models.criterions.RouteCriterion

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)
Return type

Route

nbest(n, routes, inplace=False)
Return type

List[Route]

scoring(route)[source]
Return type

float

sorted(routes, inplace=False)
Return type

List[Route]

class jinete.models.criterions.ShortestTimeRouteCriterion(*args, **kwargs)[source]

Bases: jinete.models.criterions.RouteCriterion

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

best(*args)
Return type

Route

nbest(n, routes, inplace=False)
Return type

List[Route]

scoring(route)[source]
Return type

float

sorted(routes, inplace=False)
Return type

List[Route]