Skip to content

Commit

Permalink
More minimal cleanups in different package
Browse files Browse the repository at this point in the history
  • Loading branch information
sbondorf committed Aug 20, 2018
1 parent 4cba0fd commit c2a031d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
Expand Up @@ -78,7 +78,6 @@ public EBBSigma(double decay, double prefactor) throws BadInitializationExceptio
@Override
public double getValue(double theta, Map<Integer, Hoelder> parameters)
throws ThetaOutOfBoundException, ServerOverloadException, ParameterMismatchException {

// Checks for a mismatch of given and needed parameters
if(parameters.size() != 0) throw new ParameterMismatchException("EBBFunction has only (modified) theta as parameters.");

Expand Down
Expand Up @@ -70,7 +70,6 @@ public ExponentialSigma(double lambda) throws BadInitializationException{
@Override
public double getValue(double theta, Map<Integer, Hoelder> parameters)
throws ThetaOutOfBoundException, ParameterMismatchException {

// Checks if only one parameter is given
if(parameters.size() != 0){
throw new ParameterMismatchException("exponentialsigma needs exactly one parameter");
Expand Down
Expand Up @@ -77,7 +77,6 @@ public PoissonRho(SymbolicFunction rho, double mu){
@Override
public double getValue(double theta, Map<Integer, Hoelder> parameters)
throws ThetaOutOfBoundException, ParameterMismatchException, ServerOverloadException {

// Checks for a mismatch in number of given and needed parameters
if(parameters.size() != rhoParameters.size()) {
throw new ParameterMismatchException("Number of parameters does not match for atom functions (Poisson)");
Expand Down
Expand Up @@ -68,8 +68,6 @@ public StationaryTBSigma(double bucket, double maxTheta) throws BadInitializatio
this.maxTheta = maxTheta;
}

//Methods

/**
* Calculates the value of the resulting sigma-function at theta
* with given <code>parameters</code>.
Expand Down

0 comments on commit c2a031d

Please sign in to comment.