R/logics.R

Defines functions get_tnorm get_implication

get_implication <- function(name) {
  if (name == "Lukasiewicz") {
    return(implication_Lukasiewicz);
  }

  if (name == "Godel") {
    return(implication_Godel);
  }

  if (name == "Product") {
    return(implication_Product);
  }

  return(NULL);
}

get_tnorm <- function(name) {
  if (name == "Lukasiewicz") {
    return(tnorm_Lukasiewicz);
  }

  if (name == "Godel") {
    return(tnorm_Godel);
  }

  if (name == "Product") {
    return(tnorm_Product);
  }

  return(NULL);
}

Try the fcaR package in your browser

Any scripts or data that you put into this service are public.

fcaR documentation built on July 27, 2026, 5:06 p.m.