Skip to content

Commit

Permalink
Cambiado paquete de utils a iis
Browse files Browse the repository at this point in the history
  • Loading branch information
icasrod committed Feb 23, 2016
1 parent 8128cfa commit 8e76647
Show file tree
Hide file tree
Showing 41 changed files with 73 additions and 73 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package es.ull.isaatc.function;
package es.ull.iis.function;

import es.ull.iis.function.TimeFunction;
import simkit.random.BetaVariate;
import es.ull.isaatc.function.TimeFunction;

public class BetaLimitedVariate extends TimeFunction {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

/**
* A constant value wrapped by a time function.
Expand Down Expand Up @@ -29,7 +29,7 @@ public void setValue(double val) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#getValue(double)
* @see es.ull.iis.function.TimeFunction#getValue(double)
*/
public double getValue(double ts) {
return val;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;


/**
Expand Down Expand Up @@ -32,7 +32,7 @@ public NextHighFunction(TimeFunction func, double scale, double shift) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#getValue(double)
* @see es.ull.iis.function.TimeFunction#getValue(double)
*/
@Override
public double getValue(double ts) {
Expand All @@ -42,7 +42,7 @@ public double getValue(double ts) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#setParameters(java.lang.Object[])
* @see es.ull.iis.function.TimeFunction#setParameters(java.lang.Object[])
*/
@Override
public void setParameters(Object... params) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

import java.util.Collection;

Expand Down Expand Up @@ -54,7 +54,7 @@ public PeriodicProportionFunction(Collection<Integer> elem, Collection<Double> p
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#getValue(double)
* @see es.ull.iis.function.TimeFunction#getValue(double)
*/
@Override
public double getValue(double ts) {
Expand All @@ -65,7 +65,7 @@ public double getValue(double ts) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#setParameters(java.lang.Object[])
* @see es.ull.iis.function.TimeFunction#setParameters(java.lang.Object[])
*/
@Override
public void setParameters(Object... params) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

import simkit.random.RandomVariateFactory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

import simkit.random.RandomVariate;

Expand Down Expand Up @@ -42,7 +42,7 @@ public void setRandom(RandomVariate rnd) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#getValue(double)
* @see es.ull.iis.function.TimeFunction#getValue(double)
*/
public double getValue(double ts) {
return rnd.generate();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package es.ull.isaatc.function;
package es.ull.iis.function;

import es.ull.isaatc.util.ExtendedMath;
import es.ull.iis.util.ExtendedMath;


/**
Expand Down Expand Up @@ -38,7 +38,7 @@ public RoundFunction(Type type, TimeFunction func, double scale, double shift) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#getValue(double)
* @see es.ull.iis.function.TimeFunction#getValue(double)
*/
@Override
public double getValue(double ts) {
Expand All @@ -61,7 +61,7 @@ public double getValue(double ts) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#setParameters(java.lang.Object[])
* @see es.ull.iis.function.TimeFunction#setParameters(java.lang.Object[])
*/
@Override
public void setParameters(Object... params) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

/**
* An abstract class to return values corresponding to a specified function, which can depend on time.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

import java.util.LinkedHashSet;
import java.util.Map;
Expand Down Expand Up @@ -54,7 +54,7 @@ public class TimeFunctionFactory {

static {
searchPackages = new LinkedHashSet<String>();
searchPackages.add("es.ull.isaatc.function");
searchPackages.add("es.ull.iis.function");
cache = new WeakHashMap<String, Class<?>>();
}

Expand Down Expand Up @@ -131,7 +131,7 @@ public static Set<String> getSearchPackages() {
/**
* Finds the TimeFunction Class corresponding to the given name. First
* attempts to find the TimeFunction assuming the the name is fully qualified.
* Then searches the "search packages." The search path defaults to "es.ull.isaatc.function"
* Then searches the "search packages." The search path defaults to "es.ull.iis.function"
* but additional search packages can be added.
* @see #addSearchPackage(String)
* @see #setSearchPackages(Set)
Expand All @@ -152,7 +152,7 @@ public static Class<?> findFullyQualifiedNameFor(String className) {
try {
theClass = Thread.currentThread().getContextClassLoader().loadClass(
searchPackage + "." + className );
if (!es.ull.isaatc.function.TimeFunction.class.isAssignableFrom(theClass)) {
if (!es.ull.iis.function.TimeFunction.class.isAssignableFrom(theClass)) {
continue;
}
} catch (ClassNotFoundException e) { continue; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.function;
package es.ull.iis.function;

/**
* Defines a time function which consists of an array of other time functions. The time unit
Expand Down Expand Up @@ -30,7 +30,7 @@ public UniformlyDistributedSplitFunction(TimeFunction[] part, double timeUnit) {


/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#getValue(double)
* @see es.ull.iis.function.TimeFunction#getValue(double)
*/
@Override
public double getValue(double ts) {
Expand All @@ -40,7 +40,7 @@ public double getValue(double ts) {
}

/* (non-Javadoc)
* @see es.ull.isaatc.function.TimeFunction#setParameters(java.lang.Object[])
* @see es.ull.iis.function.TimeFunction#setParameters(java.lang.Object[])
*/
@Override
public void setParameters(Object... params) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Provides classes which can define time-depending functions. These functions are
* also used as wrappers for random number generators {@link es.ull.isaatc.function.RandomFunction}.
* also used as wrappers for random number generators {@link es.ull.iis.function.RandomFunction}.
*/
package es.ull.isaatc.function;
package es.ull.iis.function;
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/**
*
*/
package es.ull.isaatc.test;
package es.ull.iis.test;

import es.ull.isaatc.function.TimeFunctionFactory;
import es.ull.isaatc.util.Cycle;
import es.ull.isaatc.util.CycleIterator;
import es.ull.isaatc.util.PeriodicCycle;
import es.ull.isaatc.util.RoundedPeriodicCycle;
import es.ull.isaatc.util.TableCycle;
import es.ull.isaatc.util.WeeklyPeriodicCycle;
import es.ull.iis.function.TimeFunctionFactory;
import es.ull.iis.util.Cycle;
import es.ull.iis.util.CycleIterator;
import es.ull.iis.util.PeriodicCycle;
import es.ull.iis.util.RoundedPeriodicCycle;
import es.ull.iis.util.TableCycle;
import es.ull.iis.util.WeeklyPeriodicCycle;

/**
* Base model for testing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.test;
package es.ull.iis.test;


class MyIntegerObject implements Comparable<MyIntegerObject> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package es.ull.isaatc.test;
package es.ull.iis.test;
import java.util.ArrayList;
import java.util.EventListener;
import java.util.EventObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package es.ull.isaatc.test;
package es.ull.iis.test;
import java.util.HashMap;
import java.util.TreeMap;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.test;
package es.ull.iis.test;

import java.util.ArrayDeque;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package es.ull.isaatc.test;
package es.ull.iis.test;
import simkit.random.*;

import java.io.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.test;
package es.ull.iis.test;

/**
* @author Iván Castilla Rodríguez
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package es.ull.isaatc.util;
package es.ull.iis.util;

/**
* Defines a repeated sequence of events. <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

/**
* Allows to iterate over a cycle definition. The start and end timestamp of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

/**
* Allows to iterate over a cycle definition. The start and end timestamp of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

/**
* A simple class which provides classes to perform some mathematical operations.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

import java.io.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package es.ull.isaatc.util;
package es.ull.iis.util;

import es.ull.isaatc.function.TimeFunction;
import es.ull.iis.function.TimeFunction;

/**
* Defines a periodically repeated sequence of events. It can be defined in
Expand Down Expand Up @@ -127,7 +127,7 @@ public String toString() {
}

/* (non-Javadoc)
* @see es.ull.isaatc.util.Cycle#getIteratorLevel(es.ull.isaatc.util.Cycle.CycleIterator, double, double)
* @see es.ull.iis.util.Cycle#getIteratorLevel(es.ull.iis.util.Cycle.CycleIterator, double, double)
*/
@Override
protected IteratorLevel getIteratorLevel(double start, double end) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Created on 18 de noviembre de 2005, 10:47
*/

package es.ull.isaatc.util;
package es.ull.iis.util;

/**
* A prioritizable object has a priority and can be used in a Prioritized Table.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package es.ull.isaatc.util;
package es.ull.iis.util;

import java.util.Collection;
import java.util.Iterator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package es.ull.isaatc.util;
package es.ull.iis.util;

import java.util.ArrayList;
import java.util.Iterator;
Expand Down
Loading

0 comments on commit 8e76647

Please sign in to comment.