contract.update: contract.update

View source: R/hypergate.R

contract.updateR Documentation

contract.update

Description

Update the hyperrectangle to the best contraction move found

Usage

contract.update(
  contract_object,
  pars = envir$pars,
  active_channels = envir$active_channels,
  b_pos = envir$b_pos,
  b_neg = envir$b_neg,
  state_pos = envir$state_pos,
  state_neg = envir$state_neg,
  TN = envir$TN,
  TP = envir$TP,
  xp_pos = envir$xp_pos,
  xp_neg = envir$xp_neg,
  envir = parent.frame()
)

Arguments

contract_object

output of the contract function

pars

Current parametrization of the hyperrectangle

active_channels

vector of currently-used parameters

b_pos

boolean matrix of positive events

b_neg

boolean matrix of negative events

state_pos

State vector of the positive events

state_neg

State vector of the negative events

TN

integer: current number of TN

TP

integer: current number of TP

xp_pos

Expression matrix for positive events

xp_neg

Expression matrix for negative events

envir

Current environment of the optimization


hypergate documentation built on Aug. 31, 2023, 5:12 p.m.