All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.oliviercailloux.j_voting.preferences.ImmutableLinearPreference Maven / Gradle / Ivy

The newest version!
package io.github.oliviercailloux.j_voting.preferences;

import com.google.common.collect.ImmutableList;

import io.github.oliviercailloux.j_voting.Alternative;

/**
 * A linear preference is an antisymmetric complete preference. A linear
 * preference represents a linear order, or equivalently an antisymmetric
 * complete order, or equivalently, the reduction of a weak-order.
 * 
 */
public interface ImmutableLinearPreference extends ImmutableCompletePreference {

	/**
	 * Best alternatives coming first in the list.
	 *
	 * @return a sorted list of alternatives corresponding to the preference.
	 *
	 */
	public ImmutableList asList();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy