edu.isi.karma.modeling.alignment.Alignment.isEmpty()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(129)

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

Alignment.isEmpty介绍

暂无

代码示例

代码示例来源:origin: usc-isi-i2/Web-Karma

if (alignment != null && !alignment.isEmpty()) {
  for (Node node: alignment.getSteinerTree().vertexSet()) {
    if (node.getType() == NodeType.InternalNode) {

代码示例来源:origin: usc-isi-i2/Web-Karma

Alignment alignment = AlignmentManager.Instance().getAlignment(workspace.getId(), worksheetId);
Set<String> steinerTreeNodeIds = new HashSet<>();
if (alignment != null && !alignment.isEmpty()) {
  DirectedWeightedMultigraph<Node, LabeledLink> steinerTree = alignment.getSteinerTree(); 
  for (Node node: steinerTree.vertexSet()) {

代码示例来源:origin: usc-isi-i2/Web-Karma

if(alignment == null || alignment.isEmpty()) {
  logger.error("Alignment cannot be null before calling this command since the alignment is created while " +
      "setting the semantic types.");

代码示例来源:origin: usc-isi-i2/Web-Karma

worksheetId));
if (alignment == null || alignment.isEmpty()) {
  logger.info("Alignment is NULL for " + worksheetId);
  return new UpdateContainer(

代码示例来源:origin: usc-isi-i2/Web-Karma

if (alignment != null && !alignment.isEmpty()) {
  for (Node node: alignment.getSteinerTree().vertexSet()) {
    if (node.getType() == NodeType.InternalNode) {

相关文章