001/* 002 * To change this license header, choose License Headers in Project Properties. 003 * To change this template file, choose Tools | Templates 004 * and open the template in the editor. 005 */ 006package org.dllearner.core.probabilistic.distributed.unife; 007 008import java.math.BigDecimal; 009import mpi.Intracomm; 010import mpi.MPI; 011import org.dllearner.core.ComponentInitException; 012import org.dllearner.algorithms.probabilistic.parameter.unife.edge.AbstractEDGE; 013 014/** 015 * 016 * @author Giuseppe Cota <giuseppe.cota@unife.it>, Riccardo Zese 017 * <riccardo.zese@unife.it> 018 */ 019public abstract class AbstractEDGEDistributed extends AbstractEDGE 020 implements DistributedComponent { 021 022 // default value MPI.COMM_WORLD 023 protected Intracomm comm = MPI.COMM_WORLD; 024 025 /** 026 * @return the comm 027 */ 028 public Intracomm getComm() { 029 return comm; 030 } 031 032 /** 033 * @param comm the comm to set 034 */ 035 public void setComm(Intracomm comm) { 036 this.comm = comm; 037 } 038 039}