CSP_Constraint - CSP_Variable output_variable = null; public

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
package CSP; /** * Title: CSP_Constraint * Description: Define subclass to represent a specific kind of CSP constraint. * Copyright: Copyright (c) 2005 * Company: MIT * @author Andreas Hofmann * @version 1.0 */ public class CSP_Constraint { CSP_Variable input_variable = null;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSP_Variable output_variable = null; public CSP_Constraint(CSP_Variable inp, CSP_Variable outp) { input_variable = inp; output_variable = outp; inp.to_arcs.add(this); outp.from_arcs.add(this); } public boolean consistent() { return true; } }...
View Full Document

This note was uploaded on 11/07/2011 for the course AERO 16.410 taught by Professor Brianwilliams during the Fall '05 term at MIT.

Ask a homework question - tutors are online