singlecrossing

This module provides procedures to check if an instance describes preferences that are single-crossing.

is_single_crossing(instance)

Tests whether the instance describe a profile of single-crossed preferences.

Parameters:

instance (OrdinalInstance) – The instance to take the orders from.

Returns:

A boolean indicating whether the instance is single-crossed or no.

Return type:

bool