NullLoopCheckingAlgorithm.java :  » Rule-Engine » Mandarax » org » mandarax » reference » Java Open Source

Java Open Source » Rule Engine » Mandarax 
Mandarax » org » mandarax » reference » NullLoopCheckingAlgorithm.java
package org.mandarax.reference;

/*
 * Copyright (C) 1999-2004 <A href="http://www-ist.massey.ac.nz/JBDietrich" target="_top">Jens Dietrich</a>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
/**
 * Trivial loop checking algorithm which actually means <em>no loop checking at all</em>.
 * @author <A href="http://www-ist.massey.ac.nz/JBDietrich" target="_top">Jens Dietrich</A>
 * @version 3.4 <7 March 05>
 * @since 1.3
 */
public class NullLoopCheckingAlgorithm implements org.mandarax.kernel.LoopCheckingAlgorithm {

  /**
   * Indicates whether the list of applied clauses represents an infinite loop.
   * No loop checking means that this method returns always false.
   * @return false
   * @param appliedClauses a list
   */
  public boolean isInfiniteLoop(java.util.List appliedClauses) {
    return false;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.