Skip to content

Commit

Permalink
removed mobitopp activity type assertions as this is handled by mobitopp
Browse files Browse the repository at this point in the history
itself!
  • Loading branch information
timhilgert committed Aug 20, 2019
1 parent 17cd9ea commit 1cb0565
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java-library'
apply plugin: 'maven'

group = 'edu.kit.ifv.mobitopp'
version = '1.x'
version = '1.51'
wrapper.gradleVersion = '4.10'

task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public class Configuration {
}

/*
* steps that use lineare regression modeling
* steps that use linear regression modeling
*/
public static final HashSet<String> linregsteps_filenames;
static
Expand All @@ -150,13 +150,6 @@ public class Configuration {
}




/*
* activity types
*/
public static final ArrayList<Byte> ACTIVITY_TYPES_mobiTopp = new ArrayList<Byte>(Arrays.asList((byte)1,(byte)2,(byte)3,(byte)6,(byte)7,(byte)11,(byte)12,(byte)41,(byte)42,(byte)51,(byte)52,(byte)53,(byte)77));


/*
* activity durations - categories
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/edu/kit/ifv/mobitopp/actitopp/HActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,11 @@ public int getEstimatedTripTimeAfterActivity()

public byte getMobiToppActType()
{
assert Configuration.ACTIVITY_TYPES_mobiTopp.contains(mobiToppActType) : "unknown mobitopp format activity type";
return mobiToppActType;
}

public void setMobiToppActType(byte mobiToppActType)
{
assert Configuration.ACTIVITY_TYPES_mobiTopp.contains(mobiToppActType) : "unknown mobitopp format activity type";
this.mobiToppActType = mobiToppActType;
}

Expand Down

0 comments on commit 1cb0565

Please sign in to comment.