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

com.thesett.aima.logic.fol.l2.PrintingTable Maven / Gradle / Ivy

Go to download

Implementation of the L0 machine described in "Warren's Abstact Machine, A Tutorial Reconstruction, by Hassan Ait-Kaci"

The newest version!
/*
 * Copyright The Sett Ltd, 2005 to 2014.
 *
 * 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.
 */
package com.thesett.aima.logic.fol.l2;

/**
 * PrintingTable collects information about the row count, and row and column sizes, in order to print information in a
 * table format.
 *
 * 

*
CRC Card
Responsibilities *
Collect row count, row and column size stats. *
* * @author Rupert Smith */ public interface PrintingTable { /** * Updates the maximum row count. * * @param row The new maximum row count, accepted if larger than the previous value. */ void setMaxRowCount(int row); /** * Updates the maximum row height. * * @param row The row to update stats for. * @param height The new maximum row height, accepted if larger than the previous value. */ void setMaxRowHeight(int row, int height); /** * Updates the maximum column width. * * @param column The column to update stats for. * @param width The new maximum column width, accepted if larger than the previous value. */ void setMaxColumnWidth(int column, int width); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy