All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cyc.kb.client.quant.ForAllQuantifiedInstanceRestrictedVariable Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package com.cyc.kb.client.quant;

/*
 * #%L
 * File: ForAllQuantifiedInstanceRestrictedVariable.java
 * Project: KB Client
 * %%
 * Copyright (C) 2013 - 2017 Cycorp, Inc
 * %%
 * 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.
 * #L%
 */

import com.cyc.kb.KbCollection;
import com.cyc.kb.client.KbPredicateImpl;
import com.cyc.kb.client.QuantifierImpl;
import com.cyc.kb.client.VariableImpl;
import com.cyc.kb.exception.KbException;


/**
 * THIS CLASS IS NOT SUPPORTED IN KB API 1.0.
 * @author vijay
 */
public class ForAllQuantifiedInstanceRestrictedVariable extends QuantifiedInstanceRestrictedVariable {

  public ForAllQuantifiedInstanceRestrictedVariable(KbCollection c) throws KbException {
    //super(doSomething(new Quantifier("forAll"), c));
    super(new QuantifierImpl("forAll"), c);
  }
  /*
  private static CycFormulaSentence doSomething(Quantifier q, KBCollection c) throws KBApiException {
    CycFormulaSentence cfs = c.toSentence();
    return CycFormulaSentence.makeCycFormulaSentence(q.getCore(), c.getVariable().getCore(), cfs);
  }
  */
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy