
io.github.oliviercailloux.j_voting.preferences.ImmutableLinearPreference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of j-voting Show documentation
Show all versions of j-voting Show documentation
General classes for dealing with social choice theory.
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