package de.uka.ipd.sdq.beagle.core.expressions;

/**
 * A evaluable expression containing constants.
 * 
 * @author Annika Berger
 *
 */
public final class ConstantExpression implements EvaluableExpression {

	/**
	 * Inizialises a new constant expression with a given {@code value}.
	 * 
	 * @param value which should be assigned to the expression
	 */
	private ConstantExpression(final double value) {
	}

	/**
	 * Looks for the constant expression belonging to a input {@code value}.
	 *
	 * @param value whose expression should be returned
	 * @return the constant expression belonging to the given {@code value}
	 */
	public static ConstantExpression forValue(final double value) {
		return null;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see de.uka.ipd.sdq.beagle.core.expressions.EvaluableExpression#receive(de.uka.sdq.
	 * beagle. core.expressions.EvaluableExpressionVisitor)
	 */
	@Override
	public void receive(final EvaluableExpressionVisitor visitor) {

	}

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * de.uka.ipd.sdq.beagle.core.expressions.EvaluableExpression#evaluate(de.uka.sdq.
	 * beagle. core.expressions.EvaluableVariableAssignment)
	 */
	@Override
	public double evaluate(final EvaluableVariableAssignment variableAssignments) {
		return 0;
	}

}

@@ -54,20 +54,28 @@
  * A
- e
+n %7B@link E
 valu
+e
 able
- e
+E
 xpre
@@ -83,28 +83,27 @@
 sion
- contain
+%7D hav
 ing 
+a 
 constant
 s.%0A 
@@ -98,17 +98,22 @@
 constant
-s
+ value
 .%0A * %0A *
@@ -315,39 +315,30 @@
 lue 
-which should be assigned to the
+constant value of this
  exp
@@ -461,16 +461,17 @@
 ing to a
+n
  input %7B

fix ConstantExpression