de.lmu.ifi.dbs.elki.logging.Logging.fine()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(6.1k)|赞(0)|评价(0)|浏览(162)

本文整理了Java中de.lmu.ifi.dbs.elki.logging.Logging.fine()方法的一些代码示例,展示了Logging.fine()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logging.fine()方法的具体详情如下:
包路径:de.lmu.ifi.dbs.elki.logging.Logging
类名称:Logging
方法名:fine

Logging.fine介绍

[英]Log a message at the 'fine' debugging level. You should check isDebugging() before building the message.
[中]以“良好”调试级别记录消息。在生成消息之前,应该检查isDebugging()。

代码示例

代码示例来源:origin: elki-project/elki

/**
 * Redistribute entries according to the given sorting.
 *
 * @param newNode Node to split to
 * @param sorting Sorting to use
 * @param splitPoint Split point
 */
public final void splitTo(AbstractNode<E> newNode, List<E> sorting, int splitPoint) {
 assert (isLeaf() == newNode.isLeaf());
 deleteAllEntries();
 StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder(1000) : null;
 for(int i = 0; i < splitPoint; i++) {
  addEntry(sorting.get(i));
  if(msg != null) {
   msg.append("n_").append(getPageID()).append(' ').append(sorting.get(i)).append('\n');
  }
 }
 for(int i = splitPoint; i < sorting.size(); i++) {
  newNode.addEntry(sorting.get(i));
  if(msg != null) {
   msg.append("n_").append(newNode.getPageID()).append(' ').append(sorting.get(i)).append('\n');
  }
 }
 if(msg != null) {
  Logging.getLogger(this.getClass().getName()).fine(msg.toString());
 }
}

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-index

/**
 * Redistribute entries according to the given sorting.
 *
 * @param newNode Node to split to
 * @param sorting Sorting to use
 * @param splitPoint Split point
 */
public final void splitTo(AbstractNode<E> newNode, List<E> sorting, int splitPoint) {
 assert (isLeaf() == newNode.isLeaf());
 deleteAllEntries();
 StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder(1000) : null;
 for(int i = 0; i < splitPoint; i++) {
  addEntry(sorting.get(i));
  if(msg != null) {
   msg.append("n_").append(getPageID()).append(' ').append(sorting.get(i)).append('\n');
  }
 }
 for(int i = splitPoint; i < sorting.size(); i++) {
  newNode.addEntry(sorting.get(i));
  if(msg != null) {
   msg.append("n_").append(newNode.getPageID()).append(' ').append(sorting.get(i)).append('\n');
  }
 }
 if(msg != null) {
  Logging.getLogger(this.getClass().getName()).fine(msg.toString());
 }
}

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

/**
 * Redistribute entries according to the given sorting.
 * 
 * @param newNode Node to split to
 * @param sorting Sorting to use
 * @param splitPoint Split point
 */
public final void splitTo(AbstractNode<E> newNode, List<E> sorting, int splitPoint) {
 assert (isLeaf() == newNode.isLeaf());
 deleteAllEntries();
 StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder("\n") : null;
 for(int i = 0; i < splitPoint; i++) {
  addEntry(sorting.get(i));
  if(msg != null) {
   msg.append("n_").append(getPageID()).append(" ");
   msg.append(sorting.get(i)).append("\n");
  }
 }
 for(int i = splitPoint; i < sorting.size(); i++) {
  newNode.addEntry(sorting.get(i));
  if(msg != null) {
   msg.append("n_").append(newNode.getPageID()).append(" ");
   msg.append(sorting.get(i)).append("\n");
  }
 }
 if(msg != null) {
  Logging.getLogger(this.getClass().getName()).fine(msg.toString());
 }
}

代码示例来源:origin: elki-project/elki

/**
 * Splits the entries of this node into a new node using the given assignments
 *
 * @param newNode Node to split to
 * @param assignmentsToFirst the assignment to this node
 * @param assignmentsToSecond the assignment to the new node
 */
public final void splitTo(AbstractNode<E> newNode, List<E> assignmentsToFirst, List<E> assignmentsToSecond) {
 assert (isLeaf() == newNode.isLeaf());
 deleteAllEntries();
 StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder(1000) : null;
 // assignments to this node
 for(E entry : assignmentsToFirst) {
  if(msg != null) {
   msg.append("n_").append(getPageID()).append(' ').append(entry).append('\n');
  }
  addEntry(entry);
 }
 // assignments to the new node
 for(E entry : assignmentsToSecond) {
  if(msg != null) {
   msg.append("n_").append(newNode.getPageID()).append(' ').append(entry).append('\n');
  }
  newNode.addEntry(entry);
 }
 if(msg != null) {
  Logging.getLogger(this.getClass()).fine(msg.toString());
 }
}

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-index

/**
 * Splits the entries of this node into a new node using the given assignments
 *
 * @param newNode Node to split to
 * @param assignmentsToFirst the assignment to this node
 * @param assignmentsToSecond the assignment to the new node
 */
public final void splitTo(AbstractNode<E> newNode, List<E> assignmentsToFirst, List<E> assignmentsToSecond) {
 assert (isLeaf() == newNode.isLeaf());
 deleteAllEntries();
 StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder(1000) : null;
 // assignments to this node
 for(E entry : assignmentsToFirst) {
  if(msg != null) {
   msg.append("n_").append(getPageID()).append(' ').append(entry).append('\n');
  }
  addEntry(entry);
 }
 // assignments to the new node
 for(E entry : assignmentsToSecond) {
  if(msg != null) {
   msg.append("n_").append(newNode.getPageID()).append(' ').append(entry).append('\n');
  }
  newNode.addEntry(entry);
 }
 if(msg != null) {
  Logging.getLogger(this.getClass()).fine(msg.toString());
 }
}

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

/**
 * Splits the entries of this node into a new node using the given assignments
 * 
 * @param newNode Node to split to
 * @param assignmentsToFirst the assignment to this node
 * @param assignmentsToSecond the assignment to the new node
 */
public final void splitTo(AbstractNode<E> newNode, List<E> assignmentsToFirst, List<E> assignmentsToSecond) {
 assert (isLeaf() == newNode.isLeaf());
 deleteAllEntries();
 StringBuilder msg = LoggingConfiguration.DEBUG ? new StringBuilder() : null;
 // assignments to this node
 for(E entry : assignmentsToFirst) {
  if(msg != null) {
   msg.append("n_").append(getPageID()).append(" ").append(entry).append("\n");
  }
  addEntry(entry);
 }
 // assignments to the new node
 for(E entry : assignmentsToSecond) {
  if(msg != null) {
   msg.append("n_").append(newNode.getPageID()).append(" ").append(entry).append("\n");
  }
  newNode.addEntry(entry);
 }
 if(msg != null) {
  Logging.getLogger(this.getClass()).fine(msg.toString());
 }
}

代码示例来源:origin: elki-project/elki

msg.append("\nright   ").append(rightChild);
LOG.fine(msg.toString());

代码示例来源:origin: elki-project/elki

assert (len > 1);
if(LOG.isDebuggingFine()) {
 LOG.fine("Searching for rules based on: " + itemset);

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-itemsets

assert (len > 1);
if(LOG.isDebuggingFine()) {
 LOG.fine("Searching for rules based on: " + itemset);

相关文章