-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RUL-107: Bugfix in parsing expert survival rules when survival status…
… attribute is nominal.
- Loading branch information
Showing
7 changed files
with
94 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
....rules/src/main/java/adaa/analytics/rules/logic/representation/valueset/UndefinedSet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package adaa.analytics.rules.logic.representation.valueset; | ||
|
||
import adaa.analytics.rules.utils.DoubleFormatter; | ||
|
||
import java.util.List; | ||
|
||
public class UndefinedSet extends SingletonSet{ | ||
|
||
/** Gets {@link #value} */ | ||
public double getValue() { throw new RuntimeException("Illegal call for UndefinedSet: getValue"); } | ||
/** Sets {@link #value} */ | ||
public void setValue(double v) { throw new RuntimeException("Illegal call for UndefinedSet: setValue"); } | ||
|
||
/** Gets {@link #value} as string */ | ||
public String getValueAsString() { throw new RuntimeException("Illegal call for UndefinedSet: getValueAsString"); } | ||
|
||
/** Gets {@link #mapping} */ | ||
public List<String> getMapping() { throw new RuntimeException("Illegal call for UndefinedSet: getMapping" ); } | ||
/** Sets {@link #mapping} */ | ||
public void setMapping(List<String> v) { throw new RuntimeException("Illegal call for UndefinedSet: setMapping"); } | ||
|
||
public UndefinedSet() { | ||
super(Double.NaN, null); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return ""; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters