Changeset 766 for trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/HighOrderMarkovModel.java
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/HighOrderMarkovModel.java
r655 r766 1 1 package de.ugoe.cs.quest.usageprofiles; 2 2 3 import java.security.InvalidParameterException;4 3 import java.util.Collection; 5 4 import java.util.LinkedList; … … 52 51 public double getProbability(List<Event> context, Event symbol) { 53 52 if (context == null) { 54 throw new I nvalidParameterException("context must not be null");53 throw new IllegalArgumentException("context must not be null"); 55 54 } 56 55 if (symbol == null) { 57 throw new I nvalidParameterException("symbol must not be null");56 throw new IllegalArgumentException("symbol must not be null"); 58 57 } 59 58 double result = 0.0d;
Note: See TracChangeset
for help on using the changeset viewer.