A B C D E F G H I L M N O P R S T V W Z 
All Classes All Packages

A

a1 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a12 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a123 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1234 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a12345 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a123456list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a12345list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1234list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1235 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a123546 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a123546list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1235list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a123list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1256 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1256list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a12list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a13 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1345list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a14 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a14235list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a14253list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a15 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a1singleton - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a2 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a21 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a21list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a23 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a2314list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a231list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a24 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a25 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a2singleton - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a3 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a31 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a32 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a3214list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a321list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a32451list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a32541list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a34 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a34521list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a345list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a34list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a35 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a3singleton - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a4 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a41 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a41235list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a41253list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a41325list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a41523list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a42 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a43 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a43251list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a45 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a46 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a46list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a4singleton - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a5 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a51 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a51324list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a52 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a52341list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a53 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a54 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a54321list - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a56 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a5singleton - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a6 - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
a6singleton - Static variable in class io.github.oliviercailloux.j_voting.AlternativeHelper
 
about(Voter) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
about(Voter) - Static method in class io.github.oliviercailloux.j_voting.profiles.analysis.Dictator
Factory method for Dictator
add(Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
addAll(Collection<? extends Alternative>) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
addAlternative() - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Creation and display of the text field of the alternative to be added.
addAlternative(Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
addAlternative(Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
addAlternative(Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
addAlternative(Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableAntiSymmetricPreference
Adds an alternative to the Preference if it does not exist already.
addAlternative(Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableLinearPreference
Adds the specified alternative at the last rank of this preference if it is not already present.
addAlternative(Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutablePreference
Adds an alternative to the Preference.
addAlternative(Alternative) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
addAlternative(String) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCColumnsGUI
 
addAlternativeProfile(Alternative) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Add a new alternative to the Profile.
addEquivalence(Alternative, Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
addEquivalence(Alternative, Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutablePreference
Adds an edge from an alternative a1 to an alternative a2 and from a2 to a1.
addNode(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
addPreference(Set<Alternative>) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Creation and display of text fields with alternatives.
addStrictPreference(Alternative, Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
addStrictPreference(Alternative, Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableAntiSymmetricPreference
Adds an edge from a1 to a2, so that a1 is preferred to a2 (a1 > a2), if the edge does not exist yet.
addVote(Voter, OldCompletePreferenceImpl) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
addVote(Voter, OldCompletePreferenceImpl) - Method in class io.github.oliviercailloux.j_voting.profiles.management.StrictProfileBuilder
 
addVoter(Voter) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Add a new voter to the Profile.
addVoter(String) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Creation and display the text field with the voter
addVotes(OldCompletePreferenceImpl, int) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
Adds several votes (the given number) for the given preference to the profile.
adjacentNodes(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
adjacentNodes(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
adjacentNodes(N) - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
allowsSelfLoops() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
allowsSelfLoops() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
Alternative - Class in io.github.oliviercailloux.j_voting
This class is immutable Contains an integer which corresponds to a voting possibility
AlternativeHelper - Class in io.github.oliviercailloux.j_voting
 
AlternativeHelper() - Constructor for class io.github.oliviercailloux.j_voting.AlternativeHelper
 
alternatives - Variable in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
AntiSymmetricPreference - Interface in io.github.oliviercailloux.j_voting.preferences
An anti-symmetric preference is a preference who can't contains equal alternatives.
asCompletePreference(Voter, List<? extends Set<Alternative>>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
asEquivalenceClasses() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
asEquivalenceClasses() - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutableCompletePreference
 
asFrenchElection(Set<ImmutableLinearPreference>) - Static method in class io.github.oliviercailloux.j_voting.preferences.analysis.FrenchElection
 
asGraph() - Method in interface io.github.oliviercailloux.j_voting.preferences.AntiSymmetricPreference
In the graph : a relation from a to b means "a is at least as good as b".
asGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
asGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
 
asGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
asGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
asGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
asGraph() - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutableAntiSymmetricPreference
In the graph : a relation from a to b means "a is at least as good as b".
asGraph() - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutablePreference
In the graph : a relation from a to b means "a is at least as good as b".
asGraph() - Method in interface io.github.oliviercailloux.j_voting.preferences.Preference
In the graph : a relation from a to b means "a is at least as good as b".
asGraph() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
asImmutableAntiSymmetricPreference(Voter, Graph<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableAntiSymmetricPreferenceImpl
 
asImmutablePreference(Voter, Graph<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
 
asIntransitiveGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
 
askPreference() - Static method in class io.github.oliviercailloux.j_voting.profiles.management.SWFCommander
Asks the user to enter a StrictPreference
asLinearPreference(Voter, List<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableLinearPreferenceImpl
 
asList() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableLinearPreferenceImpl
 
asList() - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutableLinearPreference
Best alternatives coming first in the list.
asMutableGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
asMutableGraph() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
asMutableGraph() - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableAntiSymmetricPreference
This graph is not necessarily transitively closed.
asMutableGraph() - Method in interface io.github.oliviercailloux.j_voting.preferences.MutablePreference
This graph is not necessarily transitive and not necessarily reflexive.
attachAddAlternativeListener(SelectionAdapter) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Attach a selection listener to all the add alternative button.
attachDeleteAlternativeListener(SelectionAdapter) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Attach a selection listener to all the delete alternative button.

B

BadFormatODSException - Exception in io.github.oliviercailloux.j_voting.exceptions
 
BadFormatODSException() - Constructor for exception io.github.oliviercailloux.j_voting.exceptions.BadFormatODSException
 
BadFormatODSException(String) - Constructor for exception io.github.oliviercailloux.j_voting.exceptions.BadFormatODSException
 
Borda - Class in io.github.oliviercailloux.j_voting.profiles.analysis
 
buildEditionController(EditionView) - Method in class io.github.oliviercailloux.j_voting.profile_gui.Controller
 
buildProfile(List<String>, OldLinearPreferenceImpl, int) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
 

C

castMapExtendsToRegularVoterPref(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
cellBeingDragged - Variable in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
changeOrder(Alternative, int) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
changeOrder(Alternative, int) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableLinearPreference
Moves an existing alternative to the desired rank in the preference.
changeOrder(Alternative, int) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
checkCompleteMap(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
checkFormatandPrint(InputStream) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function defining which type of file formatting is used
checkFormatandReturnCompletePreference(InputStream) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function defining which type of file formatting is used
checkRadioButton() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Checks the right radio button.
checkRadioButton() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCRowsGUI
 
checkRadioButton() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCWrappedColumnsGUI
 
checkRadioButton() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIRowsGUI
 
checkRadioButton() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIWrappedColumnsGUI
 
checkStrictMap(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
clear() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
columnsButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
ColumnsDefaultGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
Generalization of profile displaying GUIs
ColumnsDefaultGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
compareTo(Voter) - Method in class io.github.oliviercailloux.j_voting.Voter
 
completeFormatRanksFormat(Table) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function returning an ImmutableList of CompletePreference containing a formatting of the voting data contained in a table in the format accepting ties between alternatives
completeFormatVotersToRankings(Table) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function returning an ImmutableList of CompletePreference containing a formatting of the voting data contained in a table in a format that does not accept ties between alternatives
contains(Alternative) - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
Controller - Class in io.github.oliviercailloux.j_voting.profile_gui
 
copyOf(Preference) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
Transform Preference to ImmutablePreference
create(EditionView, Controller) - Static method in class io.github.oliviercailloux.j_voting.profile_gui.EditionController
 
create(Shell) - Static method in class io.github.oliviercailloux.j_voting.profile_gui.View
Factory method to create the main Shell
create(TabFolder) - Static method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Factory method to create the edition window
create(TabFolder) - Static method in class io.github.oliviercailloux.j_voting.profile_gui.VisualizationView
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCColumnsGUI
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCRowsGUI
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCWrappedColumnsGUI
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIColumnsGUI
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIRowsGUI
 
createColumns() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIWrappedColumnsGUI
 
createCompletePreferenceImpl(List<Set<Alternative>>) - Static method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
Factory method for CompletePreferenceImpl
createImmutableProfile(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfile
Factory method for ImmutableProfile
createImmutableProfileI(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
Factory method for ImmutableProfileI
createImmutableStrictProfile(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfile
 
createImmutableStrictProfileI(Map<Voter, ? extends OldCompletePreferenceImpl>) - Static method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfileI
Factory method for ImmutableStrictProfileI
createOneAlternativeProfile() - Method in class io.github.oliviercailloux.j_voting.profiles.management.StrictProfileBuilder
From a StrictProfileI, creates an ImmutableStrictProfileI where only the first alternative of each preference is taken into account.
createProfile() - Method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
createProfileBuilder() - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
Factory method without parameter
createProfileBuilder(ProfileI) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
Factory method with parameter prof
createProfileFromColumnsTable(Table) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
 
createProfileFromRowsTable(Table) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
 
createProfileFromStream(InputStream) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
Creates a StrictProfile with the information extracted from the InputStream given as parameter.
createProfileFromURL(URL) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
Creates a StrictProfile with the information extracted from the URL given as parameter
createProfileI() - Method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
createProfileIncrementally() - Method in class io.github.oliviercailloux.j_voting.profiles.management.SWFCommander
Asks the user to enter StrictPreferences while he doesn't say no to the question "continue?".
createSOCButtons() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
Instantiates and set characteristics of SOC buttons with their specific behaviors.
createSOIButtons() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
Instantiates and set characteristics of SOI buttons with their specific behaviors.
createStrictCompletePreferenceImpl(List<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.OldLinearPreferenceImpl
Factory method for StrictCompletePreferenceImpl
createStrictPreferenceFrom(String) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
 
createStrictProfile() - Method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
createStrictProfileBuilder() - Static method in class io.github.oliviercailloux.j_voting.profiles.management.StrictProfileBuilder
Factory method for StrictProfileBuilder without parameter
createStrictProfileBuilder(StrictProfileI) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.StrictProfileBuilder
Factory method for StrictProfileBuilder with parameter
createStrictProfileI() - Method in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
createSWFCommander(SocialWelfareFunction) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.SWFCommander
Factory method for SWFCommander
createVoter(int) - Static method in class io.github.oliviercailloux.j_voting.Voter
Factory method for Voter

D

decorate(Graph<N>) - Static method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
degree(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
degree(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
delegate() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
delegate() - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
delegate() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearIteratorDecorator
 
delegate() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
deleteAlternative(Button) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
 
destinationX - Variable in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
destinationY - Variable in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
Dictator - Class in io.github.oliviercailloux.j_voting.profiles.analysis
This class is immutable.
display - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
display - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
displayGUI() - Method in class io.github.oliviercailloux.j_voting.profile_gui.MainGUI
Creating the main window and calling controllers and views
displayGUI() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
displayMessageNoFileLoaded() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
displayProfileFromStream(InputStream) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
This method prints strings from the read file which InputStream is passed as an argument.
displayProfileWindow(String[]) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
Displays the window : the table containing the profile as well as the buttons.
displayProfileWindow(String[]) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Displays the window : the table containing the profile as well as the buttons.
displayRadioButtons(String[]) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Displays the radio buttons to choose the layout of the profile.
displaySOCButtons() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
Displays SOC buttons and hides SOI ones
displaySOIButtons() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
Displays SOI buttons and hides SOC ones
DuplicateValueException - Exception in io.github.oliviercailloux.j_voting.exceptions
 
DuplicateValueException() - Constructor for exception io.github.oliviercailloux.j_voting.exceptions.DuplicateValueException
 
DuplicateValueException(String) - Constructor for exception io.github.oliviercailloux.j_voting.exceptions.DuplicateValueException
 

E

edgeCount() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
Defer to AbstractGraph.edges() (based on ForwardingGraph.successors(Object)) for full edges() implementation.
edges() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
edges() - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
EditionController - Class in io.github.oliviercailloux.j_voting.profile_gui
 
EditionView - Class in io.github.oliviercailloux.j_voting.profile_gui
 
editStrictPreference(String) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Displays the editButton window, where you can choose to modify/add a StrictPreference of a voter
empty() - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
empty() - Static method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
 
EmptySetException - Exception in io.github.oliviercailloux.j_voting.exceptions
 
EmptySetException() - Constructor for exception io.github.oliviercailloux.j_voting.exceptions.EmptySetException
 
EmptySetException(String) - Constructor for exception io.github.oliviercailloux.j_voting.exceptions.EmptySetException
 
emptyTable() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Empties the table : removes all data and columns.
equals(Object) - Method in class io.github.oliviercailloux.j_voting.Alternative
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableLinearPreferenceImpl
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Dictator
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
 
equals(Object) - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
equals(Object) - Method in class io.github.oliviercailloux.j_voting.Voter
 

F

fileExtension - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
fileToRead - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
ForwardingGraph<N> - Class in io.github.oliviercailloux.j_voting.graph
A class to allow Graph implementations to be backed by a BaseGraph.
ForwardingGraph() - Constructor for class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
ForwardingMutableGraph<N> - Class in io.github.oliviercailloux.j_voting.graph
 
ForwardingMutableGraph(MutableGraph<N>) - Constructor for class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
FrenchElection - Class in io.github.oliviercailloux.j_voting.preferences.analysis
 

G

generateSpreadsheetDocument() - Method in class io.github.oliviercailloux.j_voting.profiles.management.TestODS
 
Generator - Class in io.github.oliviercailloux.j_voting
 
getAllVoters() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getAllVoters() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getAlternative(Integer) - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
getAlternative(Integer) - Method in class io.github.oliviercailloux.j_voting.OldLinearPreferenceImpl
 
getAlternativeRank(Alternative) - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.OldLinearPreferenceImpl
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.preferences.analysis.FrenchElection
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
getAlternatives() - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutablePreference
The returned set reads through this object: if this object is mutable, any modification to this object modifies the returned set, and conversely.
getAlternatives() - Method in interface io.github.oliviercailloux.j_voting.preferences.Preference
The returned set reads through this object: if this object is mutable, any modification to this object modifies the returned set, and conversely.
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfile
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfile
 
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Get a Set containing all the Alternatives of the Profile.
getAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
getAlternatives() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getAlternatives(int) - Static method in class io.github.oliviercailloux.j_voting.Generator
 
getAlternatives(int) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
getAlternatives(int) - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutableCompletePreference
 
getAlternativeToDelete(Button) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Return the alternative of the associated delete button provided as parameter.
getDictator() - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Dictator
 
getEditionView() - Method in class io.github.oliviercailloux.j_voting.profile_gui.View
 
getFormat() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getFormat() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getId() - Method in class io.github.oliviercailloux.j_voting.Alternative
 
getId() - Method in class io.github.oliviercailloux.j_voting.Voter
 
getIthAlternatives(int) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfile
Get a List of each ith Alternative of each Voter in the profile
getIthAlternatives(int) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfile
 
getIthAlternativesAsStrings(int) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfileI
 
getIthAlternativesAsStrings(int) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfileI
 
getIthAlternativesOfUniquePrefAsString(int) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfileI
 
getIthAlternativesOfUniquePrefAsString(int) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfileI
 
getIthAlternativesOfUniquePreferences(int) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfile
Get a List of each ith Alternative of each unique Preference in the profile
getIthAlternativesOfUniquePreferences(int) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfile
 
getMax(Multiset<Alternative>) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
 
getMaxSizeOfPreference() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getMaxSizeOfPreference() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getModel() - Method in class io.github.oliviercailloux.j_voting.profile_gui.Controller
 
getMultiSet() - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
 
getNbAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getNbAlternatives() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfile
 
getNbAlternatives() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getNbUniquePreferences() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getNbUniquePreferences() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getNbVoterForPreference(OldCompletePreferenceImpl) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getNbVoterForPreference(OldCompletePreferenceImpl) - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getNbVoters() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getNbVoters() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getPreference(Voter) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getPreference(Voter) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfileI
 
getPreference(Voter) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Get the preference of a specified Voter.
getPreference(Voter) - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getPreference(Voter) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfileI
 
getPreferences(OldLinearPreferenceImpl, String) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
 
getPreferencesNonStrict() - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
getProfile() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getProfile() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getRank(Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
getRank(Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.ImmutableCompletePreference
The rank of an alternative is one plus the number of alternatives strictly preferred to it.
getScores() - Method in class io.github.oliviercailloux.j_voting.preferences.analysis.FrenchElection
 
getSocietyPreference(ImmutableProfileI) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
 
getSocietyPreference(ImmutableProfileI) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Dictator
 
getSocietyPreference(ImmutableProfileI) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.OldFrenchElection
 
getSocietyPreference(ImmutableProfileI) - Method in interface io.github.oliviercailloux.j_voting.profiles.analysis.SocialWelfareFunction
 
getSumVoteCount() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getSumVoteCount() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getTextFieldContent(Button) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Return the text field content of the associated button provided as parameter.
getUniquePreferences() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
getUniquePreferences() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
getVisualizationView() - Method in class io.github.oliviercailloux.j_voting.profile_gui.View
 
getVoter() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
getVoter() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
 
getVoter() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
getVoter() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
getVoter() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
getVoter() - Method in interface io.github.oliviercailloux.j_voting.preferences.Preference
 
getVoter() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
getVoters() - Method in class io.github.oliviercailloux.j_voting.preferences.analysis.FrenchElection
 
getVoters() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Get an unmodifiable Set containing all the Voters of the Profile.
getVoters(int) - Static method in class io.github.oliviercailloux.j_voting.Generator
 
getWinners() - Method in class io.github.oliviercailloux.j_voting.preferences.analysis.FrenchElection
 
given(Graph<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
given(Preference) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
Factory method making new MutablePreference from an other Preference.
given(Voter) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
given(Voter, Graph<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
given(Voter, MutableGraph<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
given(Voter, List<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
given(Map<Voter, MutableLinearPreference>, BiMap<Alternative, String>, BiMap<Voter, String>) - Static method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
 
graph - Variable in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
GraphView<N> - Class in io.github.oliviercailloux.j_voting.graph
The sets accessible via this delegate are not currently editable (google/guava#3034), but this is not (currently) guaranteed by contract.
gridData - Variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 

H

handleDragAndDrop() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
Implements dragging and dropping a cell at a time within the same column.
When moving it up, the cell it is dropped on and those below will go down one cell.
hasEdgeConnecting(EndpointPair<N>) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
hasEdgeConnecting(EndpointPair<N>) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
hasEdgeConnecting(N, N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
hasEdgeConnecting(N, N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.Alternative
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableLinearPreferenceImpl
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Dictator
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
 
hashCode() - Method in class io.github.oliviercailloux.j_voting.Voter
 
hasSameAlternatives(OldCompletePreferenceImpl) - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 

I

ImmutableAntiSymmetricPreference - Interface in io.github.oliviercailloux.j_voting.preferences
An immutable antisymmetric preference is an antisymmetric preference (without equal alternatives) we can't modify.
ImmutableAntiSymmetricPreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
 
ImmutableCompletePreference - Interface in io.github.oliviercailloux.j_voting.preferences
An immutable preference which represents a complete pre-order, also called a weak order. for each couple of alternatives (a,b) we can find an order a ≥ b or b ≥ a.
ImmutableCompletePreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
 
ImmutableCompletePreferenceImpl(Voter, List<? extends Set<Alternative>>) - Constructor for class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
ImmutableLinearPreference - Interface in io.github.oliviercailloux.j_voting.preferences
A linear preference is an antisymmetric complete preference.
ImmutableLinearPreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
 
ImmutablePreference - Interface in io.github.oliviercailloux.j_voting.preferences
An Immutable Preference is a preference that cannot be modified ImmutablePreference can’t represent the case where we know that a ≥ b and ignore whether b ≥ a.
ImmutablePreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
 
ImmutablePreferenceImpl(Voter, Graph<Alternative>) - Constructor for class io.github.oliviercailloux.j_voting.preferences.classes.ImmutablePreferenceImpl
 
ImmutableProfile - Class in io.github.oliviercailloux.j_voting.profiles
This class is immutable.
ImmutableProfileI - Class in io.github.oliviercailloux.j_voting.profiles
This class is immutable.
ImmutableProfileI(Map<Voter, ? extends OldCompletePreferenceImpl>) - Constructor for class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
ImmutableStrictProfile - Class in io.github.oliviercailloux.j_voting.profiles
This class is immutable.
ImmutableStrictProfileI - Class in io.github.oliviercailloux.j_voting.profiles
This class is immutable.
ImmutableStrictProfileI(Map<Voter, ? extends OldCompletePreferenceImpl>) - Constructor for class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfileI
 
incidentEdgeOrder() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
incidentEdges(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
incidentEdges(N) - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
inDegree(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
inDegree(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
inst(MutableLinearPreference) - Static method in class io.github.oliviercailloux.j_voting.profile_gui.Controller
 
io.github.oliviercailloux.j_voting - package io.github.oliviercailloux.j_voting
 
io.github.oliviercailloux.j_voting.exceptions - package io.github.oliviercailloux.j_voting.exceptions
 
io.github.oliviercailloux.j_voting.graph - package io.github.oliviercailloux.j_voting.graph
 
io.github.oliviercailloux.j_voting.preferences - package io.github.oliviercailloux.j_voting.preferences
 
io.github.oliviercailloux.j_voting.preferences.analysis - package io.github.oliviercailloux.j_voting.preferences.analysis
 
io.github.oliviercailloux.j_voting.preferences.classes - package io.github.oliviercailloux.j_voting.preferences.classes
 
io.github.oliviercailloux.j_voting.profile_gui - package io.github.oliviercailloux.j_voting.profile_gui
 
io.github.oliviercailloux.j_voting.profiles - package io.github.oliviercailloux.j_voting.profiles
 
io.github.oliviercailloux.j_voting.profiles.analysis - package io.github.oliviercailloux.j_voting.profiles.analysis
 
io.github.oliviercailloux.j_voting.profiles.gui - package io.github.oliviercailloux.j_voting.profiles.gui
 
io.github.oliviercailloux.j_voting.profiles.management - package io.github.oliviercailloux.j_voting.profiles.management
 
isComplete() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
isComplete() - Method in interface io.github.oliviercailloux.j_voting.profiles.Profile
 
isComplete() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
isDirected() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
isDirected() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
isIncludedIn(OldCompletePreferenceImpl) - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
isStrict() - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
isStrict() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
isStrict() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
isStrict() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
isStrict() - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfileI
 
iterator() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 

L

label - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
listAlternativeToListSetAlternative(List<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.OldLinearPreferenceImpl
 
listSetAlternativeToList(List<Set<Alternative>>) - Static method in class io.github.oliviercailloux.j_voting.OldLinearPreferenceImpl
 

M

main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profile_gui.MainGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCColumnsGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCRowsGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCWrappedColumnsGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIColumnsGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIRowsGUI
 
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIWrappedColumnsGUI
 
main(String[]) - Method in class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
This method displays the contents of the profiles in the resources, if they exist
main(String[]) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.TestODS
 
MainGUI - Class in io.github.oliviercailloux.j_voting.profile_gui
 
MainGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
Home GUI allowing to load a profile and then select how to display it
MainGUI() - Constructor for class io.github.oliviercailloux.j_voting.profile_gui.MainGUI
 
MainGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
mainShell - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
mainShell - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
modif() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Edits the profile with the given information
MutableAntiSymmetricPreference - Interface in io.github.oliviercailloux.j_voting.preferences
 
MutableAntiSymmetricPreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
This structure keeps the mutable graph as in the original.
MutableLinearPreference - Interface in io.github.oliviercailloux.j_voting.preferences
A mutable linear preference is a mutable antisymmetric complete preference.
MutableLinearPreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
 
MutableLinearPreferenceImpl.MutableLinearIteratorDecorator - Class in io.github.oliviercailloux.j_voting.preferences.classes
 
MutableLinearPreferenceImpl.MutableLinearSetDecorator - Class in io.github.oliviercailloux.j_voting.preferences.classes
In the future, ideally, sets returned via this decorator should be protected from alteration.
MutablePreference - Interface in io.github.oliviercailloux.j_voting.preferences
A mutable preference keeps two graphs: the one representing the information received directly from the voter, not necessarily transitive or reflexive, given by MutablePreference.asMutableGraph(); and the one we deduce, which is at all times transitively closed and reflexive, given by Preference.asGraph().
MutablePreferenceImpl - Class in io.github.oliviercailloux.j_voting.preferences.classes
Implements MutablePreference interface.
MutableStrictProfile - Class in io.github.oliviercailloux.j_voting.profiles
This class is Mutable.
MutableStrictProfile.MutableLinearPreferenceDecorator - Class in io.github.oliviercailloux.j_voting.profiles
 

N

newpref - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
nextVoterId - Variable in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
nodeOrder() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
nodeOrder() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
nodes() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
nodes() - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
nodes() - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 

O

OldCompletePreferenceImpl - Class in io.github.oliviercailloux.j_voting
Immutable class.
OldCompletePreferenceImpl(List<Set<Alternative>>) - Constructor for class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
OldFrenchElection - Class in io.github.oliviercailloux.j_voting.profiles.analysis
This class provides the result of an election, given by the french election system.
OldFrenchElection() - Constructor for class io.github.oliviercailloux.j_voting.profiles.analysis.OldFrenchElection
 
OldLinearPreferenceImpl - Class in io.github.oliviercailloux.j_voting
This class is immutable Contains a list of Alternatives sorted by preferences Two alternatives can't be equally ranked You can't store the same alternative several times in the list Every alternative is an integer and corresponds to a voting choice
outDegree(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
outDegree(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 

P

populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Fills the table of the profile with the alternatives : by default, each column contains the preference of a voter
populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCColumnsGUI
 
populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCRowsGUI
 
populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCWrappedColumnsGUI
 
populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIColumnsGUI
 
populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIRowsGUI
 
populateRows() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOIWrappedColumnsGUI
 
predecessors(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
predecessors(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
predecessors(N) - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
preference - Variable in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
Preference - Interface in io.github.oliviercailloux.j_voting.preferences
Preference Interface is used to define the order chosen by a Voter between some alternatives.
printFormatCountOfRankings(Table) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function returning a string containing a formatting of the voting data contained in a table in a format similar to SOC
printFormatRanksFormat(Table) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function returning a string containing a formatting of the voting data contained in a table in the format accepting ties between alternatives
printFormatVotersToRankings(Table) - Static method in class io.github.oliviercailloux.j_voting.profiles.management.ReadODS
Function returning a string containing a formatting of the voting data contained in a table in a format that does not accept ties between alternatives
Profile - Interface in io.github.oliviercailloux.j_voting.profiles
A Profile represents a complete profile.
profileBuilder - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
ProfileBuilder - Class in io.github.oliviercailloux.j_voting.profiles.management
This class is a builder for profiles.
ProfileBuilder() - Constructor for class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 
ProfileDefaultGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
Generalization of profile displaying GUIs
ProfileDefaultGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
ProfileI - Interface in io.github.oliviercailloux.j_voting.profiles
A ProfileI represents an incomplete profile.
profileToRead - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
putEdge(EndpointPair<N>) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
putEdge(N, N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 

R

ReadODS - Class in io.github.oliviercailloux.j_voting.profiles.management
Read .ODS file & extract elections data.
ReadProfile - Class in io.github.oliviercailloux.j_voting.profiles.management
The ReadProfile class provides methods creating and displaying Profiles from different resources (e.g.
ReadProfile() - Constructor for class io.github.oliviercailloux.j_voting.profiles.management.ReadProfile
 
refreshAlternativeSection(Set<Alternative>) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
Update the gui with the new alternative data provided in newAltSet
remove(Object) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
removeAll(Collection<?>) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
removeAlternative(Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
removeAlternative(Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableLinearPreference
Removes the specified alternative from this preference if it is present.
removeAlternative(Alternative) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
removeAlternativeProfile(Alternative) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Remove an existing alternative to the Profile.
removeEdge(EndpointPair<N>) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
removeEdge(N, N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
removeNode(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
removeVoter(Voter) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Remove a Voter of the Profile.
renameAlternative(Alternative, String) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Rename an Alternative in the Profile.
renameVoter(Voter, String) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
Rename a Voter in the Profile.
restrictProfile() - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
restrictProfile() - Method in interface io.github.oliviercailloux.j_voting.profiles.ProfileI
 
retainAll(Collection<?>) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl.MutableLinearSetDecorator
 
rowsButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 

S

save(String) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
Saves the changes to the file containing the profile.
save(String) - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Saves the changes to the file containing the profile.
saveButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
selectFileToReadButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
setAsLeastAsGood(Alternative, Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
setAsLeastAsGood(Alternative, Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutablePreference
Adds an edge from an alternative a1 to an alternative a2, so that a1 is as least as good as a2 (a1 >= a2).
setScores(OldCompletePreferenceImpl) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
assigns a score to each alternative of a StrictPreference
setScores(ProfileI) - Method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
 
setUserIndicationText(String) - Method in class io.github.oliviercailloux.j_voting.profile_gui.EditionView
 
size() - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
size(List<Set<Alternative>>) - Static method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
SOCColumnsGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
 
SOCColumnsGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.SOCColumnsGUI
 
socColumnsGUIButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
SocialWelfareFunction - Interface in io.github.oliviercailloux.j_voting.profiles.analysis
 
SOCRowsGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
 
SOCRowsGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.SOCRowsGUI
 
socRowsGUIButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
SOCWrappedColumnsGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
 
SOCWrappedColumnsGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.SOCWrappedColumnsGUI
 
socWrappedColumnsGUIButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
SOIColumnsGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
 
SOIColumnsGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.SOIColumnsGUI
 
soicolumnsGUIButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
SOIRowsGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
 
SOIRowsGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.SOIRowsGUI
 
soiRowsGUIButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
SOIWrappedColumnsGUI - Class in io.github.oliviercailloux.j_voting.profiles.gui
 
SOIWrappedColumnsGUI() - Constructor for class io.github.oliviercailloux.j_voting.profiles.gui.SOIWrappedColumnsGUI
 
soiWrappedColumnsGUIButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.MainGUI
 
sourceX - Variable in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
sourceY - Variable in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
StrictProfile - Interface in io.github.oliviercailloux.j_voting.profiles
A StrictProfile represents a complete StrictProfile.
StrictProfileBuilder - Class in io.github.oliviercailloux.j_voting.profiles.management
This class builds a strict profile.
StrictProfileI - Interface in io.github.oliviercailloux.j_voting.profiles
A StrictProfileI represents an incomplete StrictProfile.
successors(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingGraph
 
successors(N) - Method in class io.github.oliviercailloux.j_voting.graph.ForwardingMutableGraph
 
successors(N) - Method in class io.github.oliviercailloux.j_voting.graph.GraphView
 
swap(Alternative, Alternative) - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
swap(Alternative, Alternative) - Method in interface io.github.oliviercailloux.j_voting.preferences.MutableLinearPreference
This method enables to swap 2 alternatives of the preference.
swap(Alternative, Alternative) - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile.MutableLinearPreferenceDecorator
 
SWFCommander - Class in io.github.oliviercailloux.j_voting.profiles.management
 

T

table - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
tableDisplay() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ColumnsDefaultGUI
 
tableDisplay() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
Displays the table containing the profile
tableDisplay() - Method in class io.github.oliviercailloux.j_voting.profiles.gui.SOCColumnsGUI
 
tableViewer - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
TestODS - Class in io.github.oliviercailloux.j_voting.profiles.management
Simplified from odftoolkit doc.
TestODS() - Constructor for class io.github.oliviercailloux.j_voting.profiles.management.TestODS
 
toAlternativeSet(List<Set<Alternative>>) - Static method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
toStrictPreference() - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
toStrictPreference() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.ImmutableCompletePreferenceImpl
 
toString() - Method in class io.github.oliviercailloux.j_voting.Alternative
 
toString() - Method in class io.github.oliviercailloux.j_voting.OldCompletePreferenceImpl
 
toString() - Method in class io.github.oliviercailloux.j_voting.OldLinearPreferenceImpl
 
toString() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableAntiSymmetricPreferenceImpl
 
toString() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutableLinearPreferenceImpl
 
toString() - Method in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
toString() - Method in class io.github.oliviercailloux.j_voting.profiles.MutableStrictProfile
 
toString() - Method in class io.github.oliviercailloux.j_voting.Voter
 

V

v1 - Static variable in class io.github.oliviercailloux.j_voting.Voter
 
v2 - Static variable in class io.github.oliviercailloux.j_voting.Voter
 
v3 - Static variable in class io.github.oliviercailloux.j_voting.Voter
 
v4 - Static variable in class io.github.oliviercailloux.j_voting.Voter
 
View - Class in io.github.oliviercailloux.j_voting.profile_gui
 
VisualizationController - Class in io.github.oliviercailloux.j_voting.profile_gui
 
VisualizationController() - Constructor for class io.github.oliviercailloux.j_voting.profile_gui.VisualizationController
 
VisualizationView - Class in io.github.oliviercailloux.j_voting.profile_gui
 
voter - Variable in class io.github.oliviercailloux.j_voting.preferences.classes.MutablePreferenceImpl
 
Voter - Class in io.github.oliviercailloux.j_voting
This class is immutable Contains an integer being the id of the voter
voterToModify - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
votes - Variable in class io.github.oliviercailloux.j_voting.profiles.ImmutableProfileI
 
votes - Variable in class io.github.oliviercailloux.j_voting.profiles.management.ProfileBuilder
 

W

withDefaultModel() - Static method in class io.github.oliviercailloux.j_voting.profile_gui.Controller
Creation of the LinearMutablePreference by default when launching the application
withId(int) - Static method in class io.github.oliviercailloux.j_voting.Alternative
Factory method for Alternative
withScores() - Static method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
Factory method for Borda without parameter
withScores(Multiset<Alternative>) - Static method in class io.github.oliviercailloux.j_voting.profiles.analysis.Borda
Factory method for Borda with parameter tempscores
wrapButton - Static variable in class io.github.oliviercailloux.j_voting.profiles.gui.ProfileDefaultGUI
 
writeToSOC(OutputStream) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfile
 
writeToSOC(OutputStream) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfile
writes the strict and complete profile into a new file with the SOC format.
writeToSOI(OutputStream) - Method in class io.github.oliviercailloux.j_voting.profiles.ImmutableStrictProfileI
 
writeToSOI(OutputStream) - Method in interface io.github.oliviercailloux.j_voting.profiles.StrictProfileI
 

Z

ZERO - Static variable in class io.github.oliviercailloux.j_voting.Voter
 
A B C D E F G H I L M N O P R S T V W Z 
All Classes All Packages