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

fr.boreal.component_builder.operations.ChaseRunOperationResult Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
package fr.boreal.component_builder.operations;

import java.io.Serializable;

import fr.boreal.component_builder.api.IOperationResult;
import fr.boreal.forward_chaining.chase.Chase;

/**
 * records the size of the chase result
 * 
 * @param size
 */
public record ChaseRunOperationResult(long size) implements IOperationResult, Serializable {

	/**
	 * 
	 * records the size of the chase result
	 * 
	 * @param chase
	 */
	public ChaseRunOperationResult(Chase chase) {
		this(chase.getFactBase().size());
	}

	public String serializationString() {
		return "Factbase size after chase : " + size;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy