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

com.ibm.wala.fixpoint.FixedPointConstants Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2002 - 2006 IBM Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 */
package com.ibm.wala.fixpoint;

/** Constants used in the fixed-point solver framework */
public interface FixedPointConstants {

  /**
   * A return value which indicates that a lhs has changed, and the statement might need to be
   * evaluated again.
   */
  byte CHANGED = 1;

  /**
   * A return value which indicates that lhs has not changed, and the statement might need to be
   * evaluated again.
   */
  byte NOT_CHANGED = 0;

  /**
   * A return value which indicates that lhs has changed, and the statement need not be evaluated
   * again.
   */
  byte CHANGED_AND_FIXED = 3;

  /**
   * A return value which indicates that lhs has not changed, and the statement need not be
   * evaluated again.
   */
  byte NOT_CHANGED_AND_FIXED = 2;

  /** The bit-mask which defines the "CHANGED" flag */
  int CHANGED_MASK = 0x1;

  /** The bit-mask which defines the "FIXED" flag */
  int FIXED_MASK = 0x2;

  /** The bit-mask which defines the "SIDE EFFECT" flag */
  int SIDE_EFFECT_MASK = 0x4;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy