Skip to content

Commit

Permalink
add experiment code
Browse files Browse the repository at this point in the history
  • Loading branch information
TimKam committed Jan 1, 2024
1 parent eb3363b commit f6b3960
Show file tree
Hide file tree
Showing 3 changed files with 375 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/diarg/values/ValuePreferenceOrder.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void removeValuePreference(ValuePreference valuePreference) {
throw new Exception("Value preference order must be asymmetric.");
}
} catch (Exception e) {
e.printStackTrace();
//e.printStackTrace();
return;
}
valuePreferences = counterFactualvaluePreferences;
Expand All @@ -67,7 +67,7 @@ public void removeValuePreference(ValuePreference valuePreference) {
* @param valuePreferences The to-be-checked value preference order
* @return the results of the check
*/
private static boolean checkTransitivity(Collection<ValuePreference> valuePreferences) {
public static boolean checkTransitivity(Collection<ValuePreference> valuePreferences) {
for(ValuePreference currentValuePreference: valuePreferences) {
for(ValuePreference otherValuePreference: valuePreferences) {
Value currentSuperior = currentValuePreference.getSuperiorValue();
Expand Down
Loading

0 comments on commit f6b3960

Please sign in to comment.