public class Activity extends Object
| Constructor and Description |
|---|
Activity(int id,
String name,
double weekdayWeight,
double weekendWeight)
Test constructor
|
Activity(String name)
Normal constructor, usable by auto-config
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDayWeight(int day) |
double |
getHourWeight(int hour,
double ra) |
int |
getId() |
String |
getName() |
double |
getWeekdayWeight() |
double |
getWeekendWeight() |
public Activity(String name)
public Activity(int id,
String name,
double weekdayWeight,
double weekendWeight)
public double getDayWeight(int day)
public double getHourWeight(int hour,
double ra)
public int getId()
public String getName()
public double getWeekdayWeight()
public double getWeekendWeight()
Copyright © 2017 Power TAC. All rights reserved.