/*
 *  JavaSMT is an API wrapper for a collection of SMT solvers.
 *  This file is part of JavaSMT.
 *
 *  Copyright (C) 2007-2015  Dirk Beyer
 *  All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.sosy_lab.java_smt.solvers.cvc4;

import edu.nyu.acsys.CVC4.Expr;
import edu.nyu.acsys.CVC4.ExprManager;
import edu.nyu.acsys.CVC4.Type;
import org.sosy_lab.java_smt.basicimpl.AbstractUFManager;

public class CVC4UFManager extends AbstractUFManager<Expr, Expr, Type, ExprManager> {

  private final ExprManager exprManager;

  protected CVC4UFManager(CVC4FormulaCreator pCreator) {
    super(pCreator);
    exprManager = pCreator.getEnv();
  }

  /*@Override
  protected Expr declareUninterpretedFunctionImpl(
      String pName, Type pReturnType, List<Type> pArgTypes) {
    vectorType argTypes = new vectorType();
    for (Type t : pArgTypes) {
      argTypes.add(t);
    }
    FunctionType functionType = exprManager.mkFunctionType(argTypes, pReturnType);
    return formulaCreator.makeVariable(functionType, pName);
  }

  @Override
  protected Expr createUninterpretedFunctionCallImpl(Expr pFunc, List<Expr> pArgs) {
    vectorExpr args = new vectorExpr();
    for (Expr t : pArgs) {
      args.add(t);
    }
    return exprManager.mkExpr(Kind.APPLY_UF, pFunc, args);
  }*/
}

@@ -126,9 +126,9 @@
 -201
-5
+9
   Di
@@ -943,15 +943,8 @@
 r;%0A%0A
-public 
 clas
@@ -1025,60 +1025,8 @@
 %0A%0A  
-private final ExprManager exprManager;%0A%0A  protected 
 CVC4
@@ -1093,680 +1093,8 @@
 ;%0A  
-  exprManager = pCreator.getEnv();%0A  %7D%0A%0A  /*@Override%0A  protected Expr declareUninterpretedFunctionImpl(%0A      String pName, Type pReturnType, List%3CType%3E pArgTypes) %7B%0A    vectorType argTypes = new vectorType();%0A    for (Type t : pArgTypes) %7B%0A      argTypes.add(t);%0A    %7D%0A    FunctionType functionType = exprManager.mkFunctionType(argTypes, pReturnType);%0A    return formulaCreator.makeVariable(functionType, pName);%0A  %7D%0A%0A  @Override%0A  protected Expr createUninterpretedFunctionCallImpl(Expr pFunc, List%3CExpr%3E pArgs) %7B%0A    vectorExpr args = new vectorExpr();%0A    for (Expr t : pArgs) %7B%0A      args.add(t);%0A    %7D%0A    return exprManager.mkExpr(Kind.APPLY_UF, pFunc, args);%0A  %7D*/
+%7D
 %0A%7D%0A

simplify UFManager