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

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

package com.cyc.kb.client.quant;

/*
 * #%L
 * File: ForAll.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.QuantifierImpl;
import com.cyc.kb.exception.KbException;

/**
 * THIS CLASS IS NOT SUPPORTED IN KB API 1.0.
 * @author vijay
 */
public class ForAll {
  
  /*
  private static Quantifier core = null;
  
  public forAll () throws KBApiException {
    if (core == null){
      core = new Quantifier("forAll");
    }
  }
  */
  
  /**
   * UNDER DEVELOPMENT - DO NOT USE
   * @param c
   * @return
   * @throws KbException 
   */
  public static QuantifiedRestrictedVariable quantifiedInstanceOf (KbCollection c) throws KbException {
    return new ForAllQuantifiedInstanceRestrictedVariable (c);
  }
  /**
   * UNDER DEVELOPMENT - DO NOT USE
   * @param ul
   * @return
   * @throws KbException 
   */
  public static QuantifiedRestrictedVariable quantified (RestrictedVariable ul) throws KbException {
    return new ForAllQuantifiedRestrictedVariable (ul);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy